C
SOCKET_INFO* TCPGetRemoteInfo( TCP_SOCKET hTCP );
Description
Returns the SOCKET_INFO structure associated with this socket. This contains the NODE_INFO structure with IP and MAC address (or gateway MAC) and the remote port.
Preconditions
TCP is initialized and the socket is connected.
Parameters
Parameters |
Description |
hTCP |
The socket to check. |
Returns
The SOCKET_INFO structure associated with this socket. This structure is allocated statically by the function and is valid only until the next time TCPGetRemoteInfo() is called.