G
Guest
Hi there,
I'm playing with Socket and Telnet (via hyperterminal). I'm trying to
display a message when the client disconnect, that is when hyperterminal
either close the connection, or is closed, on the client side. But,
Socket.Connected always seems to return true, even though I do as in the doc
and do a 0 byte Send before checking its value.
Is there another way to know if a Socket is still connected to a client?
Etienne Fortin
I'm playing with Socket and Telnet (via hyperterminal). I'm trying to
display a message when the client disconnect, that is when hyperterminal
either close the connection, or is closed, on the client side. But,
Socket.Connected always seems to return true, even though I do as in the doc
and do a 0 byte Send before checking its value.
Is there another way to know if a Socket is still connected to a client?
Etienne Fortin