Re: [twsocket] Shutdown(How: Integer)

2006-11-18 Thread Francois PIETTE
When do I need, or would I want, to call Shutdown(), and what are the ramifications of the different parameters that one can pass it. You use Shutdown() to initiate a gracefull close of a TCP session. Shutdown() send the signal to the remote side to close the connection. The remote side see

[twsocket] Shutdown(How: Integer)

2006-11-17 Thread Clay Shannon
When do I need, or would I want, to call Shutdown(), and what are the ramifications of the different parameters that one can pass it. I see Shutdown(2) in one of the demo apps, but don't know what 2 represents. The information transmitted is intended only for the person or entity to which it