TCPIP_TCP_SocketInfoGet Function
C
bool TCPIP_TCP_SocketInfoGet(
TCP_SOCKET hTCP,
TCP_SOCKET_INFO* pInfo
);
Description
Fills the provided TCP_SOCKET_INFO structure associated with this socket. This contains the IP addresses and port numbers for both the local and remote endpoints.
Preconditions
TCP is initialized and the socket is connected.
Parameters
Parameters | Description |
---|---|
hTCP | The socket to check . |
Returns
True - If the call succeeded.
False - If no such socket exists or the socket is not open.
Remarks
None.