Function

nw_ethernet_channel_set_state_changed_handler(_:_:)

Sets a handler to receive channel state updates.

Declaration

func nw_ethernet_channel_set_state_changed_handler(_ ethernet_channel: nw_ethernet_channel_t, _ handler: nw_ethernet_channel_state_changed_handler_t?)

See Also

Handling State Updates

typealias nw_ethernet_channel_state_changed_handler_t

A handler that delivers Ethernet channel state updates with associated errors.

struct nw_ethernet_channel_state_t

States indicating whether an Ethernet channel is able to send and receive frames.