Type Alias

nw_listener_state_changed_handler_t

A handler that delivers listener state updates with associated errors.

Declaration

typedef void (^nw_listener_state_changed_handler_t)(nw_listener_state_t state, nw_error_t error);

See Also

Handling State Updates

nw_listener_set_state_changed_handler

Sets a handler to receive listener state updates.

nw_listener_state_t

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