enum_sock_type(9) centos man page | unix.com

Man Page: enum_sock_type

Operating Environment: centos

Section: 9

ENUM
SOCK_TYPE(9) Linux Networking ENUM SOCK_TYPE(9)
NAME
enum_sock_type - Socket types
SYNOPSIS
enum sock_type { SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_DCCP, SOCK_PACKET };
CONSTANTS
SOCK_STREAM stream (connection) socket SOCK_DGRAM datagram (conn.less) socket SOCK_RAW raw socket SOCK_RDM reliably-delivered message SOCK_SEQPACKET sequential packet socket SOCK_DCCP Datagram Congestion Control Protocol socket SOCK_PACKET linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.
DESCRIPTION
When adding some new socket type please grep ARCH_HAS_SOCKET_TYPE include/asm-* /socket.h, at least MIPS overrides this enum for binary compat reasons.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 ENUM SOCK_TYPE(9)
Related Man Pages
socket(2) - redhat
disconnectx(2) - mojave
icmp(4p) - ultrix
icmp(7) - osf1
socket_create(3) - php
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Please Welcome Dave Munro to the Moderator Team!