Enumeration

nw_listener_state_t

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

Declaration

typedef enum : unsigned int {
    ...
} nw_listener_state_t;

Topics

Listener States

nw_listener_state_invalid

The listener is not valid.

nw_listener_state_waiting

The listener is waiting for a network to become available.

nw_listener_state_ready

The listener is running and able to receive incoming connections.

nw_listener_state_failed

The listener has encountered a fatal error.

nw_listener_state_cancelled

The listener has been canceled.

See Also

Handling State Updates

nw_listener_set_state_changed_handler

Sets a handler to receive listener state updates.

nw_listener_state_changed_handler_t

A handler that delivers listener state updates with associated errors.