Embedded TCP/IP stack: fnet_socket_type_t

FNET

Embedded TCP/IP stack  4.1.0

Socket types.

Enumerator
SOCK_UNSPEC 

Unspecified socket type.

SOCK_STREAM 

Stream socket.
Provides reliable, two-way, connection-based byte stream. It corresponds to the TCP protocol.

SOCK_DGRAM 

Datagram socket.
Provides unreliable, connectionless datagrams. It corresponds to the UDP protocol.

SOCK_RAW 

Raw socket.
Raw sockets allow an application to have direct access to lower-level communication protocols. Raw sockets are intended to take advantage of some protocol feature that is not directly accessible through a normal interface, or to build new protocols on top of existing low-level protocols.
It can be enabled by the FNET_CFG_RAW option.

Definition at line 319 of file fnet_socket.h.


© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net