TCP/IP Programming Manual
Interface request structure, 67, 68
Internet address
combining network and local portions, 135
converting format of, 133, 134, 137, 139
getting by hostname, 110
getting hostname for, 109
in data structure, 66, 69, 70, 71, 77, 78, 79
of socket remote connection, 121
port number associated, 78, 79
separating local portion, 135
separating network portion, 136
sockaddr_in, 241
socket bound to, 126
IP
defined, 25
programming using raw sockets, 41
IP protocol numbers
commonly used, 241
well-known, 241
IP_ADD_MEMBERSHIP, 186, 187
IP_DROP_MEMBERSHIP, 187
IP_MULTICAST_IF, 129, 186, 187
IP_MULTICAST_LOOP, 129, 186, 187
IP_MULTICAST_TTL, 129, 186, 187
IP_OPTIONS socket option (TCP/IP), 186
IPPROTO_ICMP socket level (TCP/IP), 185
IPPROTO_IP socket level (TCP/IP), 185
IPPROTO_IPV6 socket level (TCP/IP), 185
IPPROTO_RAW socket level (TCP/IP), 185
IPPROTO_TCP socket level (TCP/IP), 185
IPV6_JOIN_GROUP, 186, 187
IPV6_LEAVE_GROUP, 186, 187
IPV6_MULTICAST_HOPS, 186, 187
IPV6_MULTICAST_IF, 186, 187
IPV6_MULTICAST_LOOP, 186, 187
IPV6_V6ONLY, 129, 186
L
Large-memory model routines, 81
Library headers, 62
Library routines, 81 see also Support routines
See Socket routines, 81
listen function
description of, 153
use of, 37
LISTNER process
description of, 31
server started by, 37
LNP
See Logical network partitioning (LNP), 43
Local address, selecting from internet address, 135
Locating TCP/IP processes, 43
Logical network partitioning (LNP), 43, 101
Loopback address, 188
Loopback interface, 69
lwres_freeaddrinfo function, 140
lwres_freehostent function, 141
lwres_gai_strerror function, 141
lwres_getaddrinfo function, 142
lwres_gethostbyaddr function, 144
lwres_gethostbyname function, 145
lwres_gethostbyname2 function, 146
lwres_getipnodebyaddr function, 147
lwres_getipnodebyname function, 149
lwres_getnameinfo function, 150
lwres_hstrerror function, 152
M
Macros, address and scope-testing, 53
Management, heap, 87
Mapping socket to address, 98
Maximum TCP connections, 153
Metric, interface, 69
Multicast
changes for IPv6, 59
setsockopt optname, 129, 186, 187
N
Name resolution, 26
Name server see Domain Name server
nb_sent in data structure, 75
netent data structure, 71
Network address
combining with local address, 135
selecting from internet address, 136
Network name
getting by address, 119
getting number for, 120
netent data structure, 71
Network order, 32
NETWORKS file, 120, 121
NO_ADDRESS error
in gethostbyname and host_file_gethostbyname library
routines, 111
in getipnodebyname library routine, 117
NO_RECOVERY error
in gethostbyname and host_file_gethostbyname library
routines, 111
in getipnodebyaddr library routine, 115
in getipnodebyname library routine, 117
Non-blocking I/O, 32
NonStop process pairs
socket_backup, 193
socket_get_info , 194
socket_get_len, 195
socket_get_open_info , 196
Nowait call errors, 86
Nowait I/O, 32
Nowait operations
call errors, 86
for TCP clients and servers, 39
for UDP clients and servers, 41
socket routines for, 85
tag parameter used in, 39
O
open_info_message data structure, 72
Options
258 Index