SocketType

SocketType enum

Enumerates the socket types.

enum class SocketType

Values

NameValueDescription
Stream1The type that supports reliable, two-way, connection-based byte streams without duplication of data and without preservation of boundaries.
Dgram2The type that supports datagrams, which are connectionless, unreliable messages of a fixed maximum length.
Raw3The type that supports access to the underlying transport protocol.
Rdm4The type that supports connectionless, message-oriented, reliably delivered messages, and preserves message boundaries in data.
Seqpacket5The type that provides connection-oriented and reliable two-way transfer of ordered byte streams across a network.
Unknownn/aAn unknown type.

See Also