Hi, the MSDN docs for the Connected property on Socket say the following:
The value of the Connected property reflects the state of the connection as of the most recent operation. If you need to determine the current state of the connection, make a nonblocking, zero-byte Send call. If the call returns successfully or throws a WAEWOULDBLOCK error code (10035), then the socket is still connected; otherwise, the socket is no longer connected.
I need to determine the current state of the connection - how do i make a non-blocking, zero-byte send call?