Jason Tackaberry wrote: > On Mon, 2005-10-31 at 18:11 +0100, Dirk Meyer wrote: >> Server wants to send 200k data. But it can only send 100k until the >> socket would block. OK, no problem, return to main and wait until >> select tells us that we can write again. The client gets the data, >> this results in a select notification that the client can read >> data. It reads the 100k. BUT now the server does not receive the >> message that 100k are read and that the server can send again. This >> happens after 2 seconds both sides doing nothing. I have no idea why. > > But if the server can only send 100k, send() should return this figure. > So the next time it writes, it will be the next 100k of data. This is > how it works for me.
Strange, it's different here. Dischi -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [ OK ]
pgpc6bm3FtzAh.pgp
Description: PGP signature