> While Timeout works rather nice as far as Idle version goes, connect 
> version is usually preceded by Windows built-in timeout 

An application can not cleanly stop a TCP connection attempt, you have to
wait for Windows to timeout, usually 40 seconds unless there is an error
of some sort earlier.  

To avoid this timeout, you need to try and ping the host first, which can
have a much shorter timeout, although ping may be blocked so it needs to
be optional. 

> As for Throttle, it works but rather strangely.  If I set limit to 1
and timer to 1000 it should pass 1 byte every 1000ms

Throttle is designed to slow down megabyte speeds to kilobytes, not to
send one byte per second. It does not deal with partial buffers. 

Angus


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

Reply via email to