Contents

nw_endpoint_copy_port_string(_:)

Copies the port of an endpoint as a string.

Declaration

func nw_endpoint_copy_port_string(_ endpoint: nw_endpoint_t) -> UnsafeMutablePointer<CChar>

Discussion

This function allocates a new string. You should free the returned buffer when done using the string.

See Also

Functions