Hi there, I have two applications which I'm trying to sychronize via winsock. One application sends a message to the connected client 60 times per second over a 1GBit LAN. But in some kind of way the client only receives 5-8 per second. Maybe it's important that i work with two threads, one listening and one which is waiting (looping until receiving a go) for the go from server and then does some stuff. If i try it on the same computer via localhost it works perfectly with 60 times per second. Is the description good enough to give you an idea of the problem? I'm kinda new to winsock programming... In general, I have a directx application which should be framesynchronized (outputting exactly the same frames at the same time) - any other ways how I can get that to work? Thanks for any help, flo
Flo wrote: > Hi there, > > I have two applications which I'm trying to sychronize via winsock. > > One application sends a message to the connected client 60 times per > second over a 1GBit LAN. But in some kind of way the client only > receives 5-8 per second. This is NOT a DPlay question, but I do have an idea. I bet you are using TCP, right? If so, then you need to learn that TCP is a stream and not messages. You also need to understand send coalescing. If you do not understand this then you need to do more research and studying before you do any more network programming. -- Phil Frisbie, Jr. Hawk Software http://www.hawksoft.com