|
- SOC-FUNCTION
- A 16-byte character field containing SOCKET. The field is left-aligned
and padded on the right with blanks.
- AF
- A
fullword binary field set to the addressing family. For TCP⁄IP the
value is set to decimal 2 for AF_INET, or decimal 19, indicating AF_INET6.
- SOCTYPE
- A fullword binary field set to the type of socket
required. The types are:
- Value
- Description
- 1
- Stream sockets provide sequenced, two-way byte streams that are
reliable and connection-oriented. They support a mechanism for out-of-band
data.
- 2
- Datagram sockets provide datagrams, which are connectionless messages
of a fixed maximum length whose reliability is not guaranteed. Datagrams
can be corrupted, received out of order, lost, or delivered multiple
times.
- 3
- Raw sockets provide the interface to internal
protocols (such as IP and ICMP).
- PROTO
- A fullword binary field set to the protocol to be
used for the socket. If this field is set to 0, the default protocol
is used. For streams, the default is TCP; for datagrams, the default
is UDP.
PROTO numbers are found in the hlq.etc.proto data
set. For IPv6 raw sockets, PROTO cannot be set to the following values:
- Protocol name
- Numeric value
- IPROTO_HOPOPTS
- 0
- IPPROTO_TCP
- 6
- IPPROTO_UDP
- 17
- IPPROTO_IPV6
- 41
- IPPROTO_ROUTING
- 43
- IPPROTO_FRAGMENT
- 44
- IPPROTO_ESP
- 50
- IPPROTO_AH
- 51
- IPPROTO_NONE
- 59
- IPPROTO_DSTOPTS
- 60
|