Hello Francois,

OK,  so  may  be  I  could take care about OnSendData to avoid Winsock
getting to much data in buffer (remembering that toses data could only
feet in 1/4 physical limited RAM size).

May  .send  loop  for  the  5.000  users overload the buffer and crash
system ?

If yes then I should may be do some throttle'ing so the .send loop may
wait  a  bit  until  OnDataSent  confirm that the last ... let say 500
.send has been entirely sent ?

Regards.

FP> No, data simply goes to TWSocket internal buffer and is passed to winsock
FP> for sending when winsock can accept more data in his buffer. You get an 
FP> OnSendData each time TWSocket can write data to winsock and and OnDataSent 
FP> when TWSocket gave his last byte for winsock (which is likely have his own 
FP> buffer still full).

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to