Re: QTcpSocket Chat : Mutiple Client using FD_SET and select()
Quote:
Originally Posted by
bob2oneil
I guess if I can find ways of making TCP-IP behave more like UDP, all the better. I really don't want any transmit retries, as the information returned will be stale at the time of the new request, which will be the same request message.
You have no choice if you are to use TCP. You can receive all the segments but the first one, but until the first one arrives, the receiving application will get nothing. And with bad implementation of TCP the sender will have to retransmit not only this single segment but the remaining ones too.