C
typedef enum { SKT_CLOSED, SKT_CREATED, SKT_BOUND, SKT_BSD_LISTEN, SKT_LISTEN, SKT_IN_PROGRESS, SKT_EST, SKT_DISCONNECTED } BSD_SCK_STATE;
Description
Berkeley Socket (BSD) states
Members
Members |
Description |
SKT_CLOSED |
Socket closed state indicating a free descriptor |
SKT_CREATED |
Socket created state for TCP and UDP sockets |
SKT_BOUND |
Socket bound state for TCP and UDP sockets |
SKT_BSD_LISTEN |
Listening state for TCP BSD listener handle "socket |
SKT_LISTEN |
TCP server listen state |
SKT_IN_PROGRESS |
TCP client connection in progress state |
SKT_EST |
TCP client or server established state |
SKT_DISCONNECTED |
TCP client or server no longer connected to the remote host (but was historically) |