enum sock_type — Socket types
enum sock_type { SOCK_STREAM, SOCK_DGRAM, SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET, SOCK_PACKET };
stream (connection) socket
datagram (conn.less) socket
raw socket
reliably-delivered message
sequential packet socket
linux specific way of getting packets at the dev level. For writing rarp and other similar things on the user level.