Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
New FreeRTOS Long Term Support version now available.
FreeRTOS Extended Maintenance Program (EMP) registration now open.
FreeRTOS-Plus-TCP v3.0.0 released:
Featured FreeRTOS IoT Integrations:
Delta Over-the-Air Updates:

FreeRTOS_GetLocalAddress()

[FreeRTOS-Plus-TCP API Reference]

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.