FreeRTOS: Secure Sockets
Return to main page ↑
SOCKETS_GetHostByName

Resolve a host name using Domain Name Service.

uint32_t SOCKETS_GetHostByName( const char * pcHostName );

See the Berkeley Sockets API in wikipedia

Parameters
[in]pcHostNameThe host name to resolve.
Returns
  • The IPv4 address of the specified host.
  • If an error has occurred, 0 is returned.