Hi, The comment in TCustomWSocket.InternalClose is wrong! It may be very confusing, and needs to be changed!
{ Manifest constants for Shutdown SD_RECEIVE = 0; // disables receives SD_SEND = 1; // disables sends, Use this one for graceful close SD_BOTH = 2; //disables both sends and receives } shutdown(0) disables receives shutdown(1) disables sends shutdown(2) disables both http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/graceful_shutdown_linger_options_and_socket_closure_2.asp --- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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