Value | Meaning |
---|---|
SOCK_STREAM1 | sequenced, reliable, two-way communication-based byte streams |
SOCK_DGRAM2 | connectionless, unreliable datagrams with a fixed maximum length; data may be lost or arrive out of order |
SOCK_RAW3 | raw protocol access |
SOCK_RDM4 | reliably-delivered message datagrams |
SOCK_SEQPACKET5 | sequenced, reliable, two-way connection-based datagrams with a fixed maximum length |
Communication semantics