Embedded TCP/IP stack  4.7.0

◆ fnet_socket_event_t

Socket event type, used by fnet_socket_poll_t.

See also
fnet_socket_poll()
Enumerator
FNET_SOCKET_EVENT_NONE 

There is no registered event.

FNET_SOCKET_EVENT_IN 

There is data for reading or a new pending connection for accepting.

FNET_SOCKET_EVENT_OUT 

There is a free buffer space and the socket may accept data for writing. Also, it may be used as the mark that the TCP socket is connected.

FNET_SOCKET_EVENT_ERR 

There is a socket error. It may happen when a connect attempt is failed, or connection is closed by remote peer or any other socket error (to determine the error value application may examine the socket SO_ERROR option).

FNET_SOCKET_EVENT_ALL 

Bitmask of all event types.

Definition at line 696 of file fnet_socket.h.


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net