Re: [twsocket] SessionClosed and close/shutdown

2008-08-10 Thread Francois PIETTE
Yes, Shutdown at one side will cause session close at the other side. Actaully, Shutdown is the way to gracefully close a connection. Shutdown send to the other part a close request. The other part respond with a close. The the initiating part call close. This is really the proper way to negoci

[twsocket] SessionClosed and close/shutdown

2008-08-10 Thread JLIST
Hello all, ICS TWSocket only has a SessionClosed event for close of connection. I suppose a socket.close() from the remote side (or local) will trigger this event. I wonder if shutdown(0/1/2) will also trigger the event? For example, a browser using HTTP/1.0 often sends a request then does a shutd