Function

nw_listener_set_state_changed_handler

Sets a handler to receive listener state updates.

Declaration

void nw_listener_set_state_changed_handler(nw_listener_t listener, nw_listener_state_changed_handler_t handler);

See Also

Handling State Updates

nw_listener_state_changed_handler_t

A handler that delivers listener state updates with associated errors.

nw_listener_state_t

States indicating whether a listener is able to accept incoming connections.