![]() |
Home |
|
Function xn_tcp_is_connectChecks the state of a socket. int xn_tcp_is_connect(SOCKET socket); ParameterssocketSocket returned by socket or accept. return valueReturns TRUE if the socket is a connected TCP socket. Returns FALSE if socket is not a connected TCP socket. This routine is useful to call after select to determine whether a socket which select determined as ready after a connect is ready due to an error or is ready due to the socket being connected.
|