Finding the local port of a Socket?

I can get the remote address and port of a TCP connection using the FreeRTOS_GetRemoteAddress() call: How do I get the local IP and Port after the socket has been created?

It seems it’s stored in FreeRTOS_Socket_t but that is a “private” data type that I don’t have access to in my application code.

See the FreeRTOS_GetLocalAddress() funtion.

That one doesn’t seem to be listed on the FreeRTOS API Page. FreeRTOS_GetRemoteAddress is there, but not FreeRTOS_GetLocalAddress.

Yes - apologies for that - I’ve already entered a bug report for the docs.