Defines | Variables
Communication semantics


#define TCP_SOCK_STREAM   0x1
#define SOCK_STREAM   tcp_sock_stream
#define UDP_SOCK_DGRAM   0x2
#define SOCK_DGRAM   udp_sock_dgram
#define PING_SOCK_ECHO   0x3
#define SOCK_ECHO   ping_sock_echo


int tcp_sock_stream
 Connection-based, reliable streams.
int udp_sock_dgram
 Connectionless, unreliable streams.
int ping_sock_echo
 Echo testing streams.

Define Documentation

#define TCP_SOCK_STREAM   0x1

Definition at line 23 of file socket.h.

#define UDP_SOCK_DGRAM   0x2

Definition at line 28 of file socket.h.

#define SOCK_DGRAM   udp_sock_dgram
#define PING_SOCK_ECHO   0x3

Definition at line 33 of file socket.h.

#define SOCK_ECHO   ping_sock_echo

Definition at line 34 of file socket.h.

Referenced by create_pinger(), and socket_semantics_name().

Variable Documentation

Connection-based, reliable streams.

Definition at line 1761 of file tcp.c.

Connectionless, unreliable streams.

Definition at line 414 of file udp.c.

Echo testing streams.

Definition at line 277 of file ping.c.