Hi All,

I have written a server program which uses a server socket for workstations
to connect to. Then, when information is sent to the server, a thread
manages the data sent to and from the network.

On Macintosh this works beautifully. I can have, for example, five
workstations connecting to the server and sending packets of data across. I
can watch in my activity list, each one sending the data across in turn and
the server socket managing each set of data one by one.

With windows, though, the thread doesn't seem to hand over time to another
workstation. Consequently, with five workstations connected, one workstation
will lump through perhaps 200 entries then stop. Then another workstation
will send across a whole stack of entries. Meanwhile the first workstation
gives up altogether and just hangs there.

Is there any way I can force the socket and thread to handle one at a time
and pass handling over to the next workstation so that each workstation
updates together and doesn't hang.

I hope I've explained this well enough for somebody to help me. It's
difficult to provide the programming as I am not even sure where it is
stopping. But if somebody has had experience with this and can tell me how
to fix it, that would be wonderful and much appreciated.

Thanks.

Cindy


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to