Function

nw_listener_create_with_port

Initializes a network listener with a specified local port.

Declaration

nw_listener_t nw_listener_create_with_port(const char *port, nw_parameters_t parameters);

See Also

Creating Listeners

nw_listener_create

Initializes a network listener, which will select a random port.

nw_listener_create_with_connection

Initializes a network listener to receive new streams on a multiplexed connection.

nw_listener_set_queue

Sets the queue on which all listener events are delivered.

nw_listener_start

Registers for listening for inbound connections.

nw_listener_get_port

The port on which the listener can accept connections.

nw_listener_cancel

Stops listening for inbound connections.