FreeRTOS_sockets.h
size_t FreeRTOS_GetLocalAddress( ConstSocket_t xSocket,
struct freertos_sockaddr * pxAddress );
Returns the local IP address and the port of a bound socket.
Parameters:
xSocket
|
The socket being queried.
|
pxAddress
|
A freertos_sockaddr structure in which the local address
details are returned.
|
Returns:
Always returns sizeof( freertos_sockaddr ).
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.