Function

nw_endpoint_get_hostname

Accesses the hostname stored in an endpoint.

Declaration

const char * nw_endpoint_get_hostname(nw_endpoint_t endpoint);

See Also

Host Endpoints

nw_endpoint_create_host

Creates a network endpoint with a hostname and port, where the hostname may be interpreted as an IP address.

nw_endpoint_get_port

Accesses the port stored in an endpoint, in host-byte order.

nw_endpoint_copy_port_string

Copies the port of an endpoint as a string.