nn::socket::GetHostByAddr FunctionHostEnt * GetHostByAddr( const void * addr, s32 len, s32 type );
| Name | Description | |
|---|---|---|
| in | addr | Specifies a pointer to a buffer len bytes in length, which holds the host address in numeric format. |
| in | len | Specifies the length in bytes of the host address in numeric format. When using AF_INET, specify IP_ALEN. |
| in | type | Specifies the address family of the host address. AF_INET |
HostEnt structure containing the host's information. The structure instance is a library internal buffer. Searches for host information based on the host address.
Since this function might query the DNS server, it blocks until the search is complete.
CONFIDENTIAL