Hello DZ-Jay,
> Close() ultimately calls Shutdown(1) -- so wouldn't it have the same
> effect?
As I recall not exacly the same. Close calls Shutdown(1) and close the
socket. If you call Shutdown(1) the socket will not be immediatly close,
but if there is still some data it will be send, and the o
On Oct 3, 2007, at 03:53, Arno Garrels wrote:
> CloseDelayed won't reenter the event, however to ensure that
> last data packets are received properly before the socket is
> closed call ShutDown() for a gracefull close in DataSent event
> handler.
Thanks all for the responses. I have one more q
Olivier Sannier wrote:
> Isn't it what CloseDelayed is meant for?
CloseDelayed won't reenter the event, however to ensure that
last data packets are received properly before the socket is
closed call ShutDown() for a gracefull close in DataSent event
handler.
--
Arno Garrels [TeamICS]
http://www.
> > You should call Shutdown to gracefully close the connection.
> > If you want to call close, do it using an intermediate custom message.
> Isn't it what CloseDelayed is meant for?
Yes, of course !
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi
Isn't it what CloseDelayed is meant for?
Francois Piette wrote:
> You should call Shutdown to gracefully close the connection.
> If you want to call close, do it using an intermediate custom message.
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare
You should call Shutdown to gracefully close the connection.
If you want to call close, do it using an intermediate custom message.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
- Original Mess