>> I don't understand what you want. Obviously you can't make a TCP >> session running fatser than a TCP session ! > > But I can supply data faster than the session can support. The data > might be coming from another application and I'm sending it over a slow > modem, so there must be flow control somewhere when the TCP buffers > overflow. But I can not find it.
This flow control is built into the TCP protocol. You don't have to do anything to handle it. TWSocket will buffer your data automatically. If you don't want to fill memory with lots of data, use OnDataSent event to "get more data". OnDataSent is triggered each time TWSocket has emptyed his buffer. FTP component use OnDataSent event top read more data from the file to send. > Send does not currently appear to check data has previously been sent > and there is space in the buffer. Send put data into TWSocket internal buffer. Data is removed from that buffer when winsock notifies the component it can send something. -- Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be -- 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
