TCPGetRemoteInfo Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
TCPGetRemoteInfo Function
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.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.