Hi,

I thought I'd try writing this a different way. I am currently using
REALbasic 5.5 as REALbasic 2005/6 have stack limitations.

I have set up a server application with a server socket. The workstations
connect to the server socket and it adds a new tcpsocket. The workstations
then send across a small packet of information which is received and handled
on the server side. As each workstation connects to the server, the server
sets up a new tcpsocket and receives and handles the information.

On Macintosh, each workstation sends across the packets one at a time.
Therefore, if there are four workstations, each one will work one at a time
(in general). 

On Windows, the workstations will begin sending the packets across and then
one workstation will just take over and send packet after packet without
stopping. The other workstations don't even get a look in. Any workstation
that hasn't sent something across in, perhaps 30 seconds, will just fail
completely. There isn't even an error - either on the server or the
workstation side. The socket just stops on the workstation side completely
and doesn't restart unless the whole program is restarted.

It doesn't matter what Windows machine we use, the sockets just stop. This
renders the application unusable.

My question is:

How can I force the server program to handle one packet with one socket and
then move on to a different socket?

Or

How can I force the workstation program to wait so that another workstation
can send information to the server? I've tried timers but these are
trouble-some and have caused the workstations to run out of memory quickly.

As I mentioned above, this problem never occurs on Macintosh servers. Even
if there are PC workstations connecting to the Macintosh server, everything
goes fine. It only occurs if the server is on the PC.

Any help would be really, really appreciated as we have a number of schools
using this system and they are reliant on the network working correctly.

All the best.

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