Enumeration
GioSocketProtocol
since: 2.22
Description
A protocol identifier is specified when creating a GSocket, which is a
family/type specific identifier, where 0 means the default protocol for
the particular family/type.
This enum contains a set of commonly available and used protocols. You can also pass any other identifiers handled by the platform in order to use protocols not listed here.
Available since: 2.22
Members
G_SOCKET_PROTOCOL_UNKNOWN-
The protocol type is unknown.
- Value:
-1 - Nickname:
unknown - Available since: 2.22
- Value:
G_SOCKET_PROTOCOL_DEFAULT-
The default protocol for the family/type.
- Value:
0 - Nickname:
default - Available since: 2.22
- Value:
G_SOCKET_PROTOCOL_TCP-
TCP over IP.
- Value:
6 - Nickname:
tcp - Available since: 2.22
- Value:
G_SOCKET_PROTOCOL_UDP-
UDP over IP.
- Value:
17 - Nickname:
udp - Available since: 2.22
- Value:
G_SOCKET_PROTOCOL_SCTP-
SCTP over IP.
- Value:
132 - Nickname:
sctp - Available since: 2.22
- Value: