TCP/IP Programming Manual
getting socket, 128
setting socket, 184
Order, host or network, 32
Out-of-band data pending, 33
P
Packet to broadcast address, 188
Packets routed through gateway, 74
Parallel Library TCP/IP, 23
PARAMH file, 243
perror, not supported for TAL sockets, 85
PF_INET, 54
PF_INET6, 54
Point-to-point link, 69
Pointers, TAL handling of, 87
Port number
for service, 124
from service name, 76
in data structure, 78, 79
of remote connection, 121
overview, 31
service on, 125
socket bound to, 126
well-known, 241
PORTCONF file, 31
Porting programs, 32
Primary server, 28
Procedures
AWAITIO, 171, 175, 177
AWAITIO64, 173
AWAITIOX, error checking, 86
CLOSE, 36
DEVICE_GETINFO, 43
FILEINFO_GETINFOBYNAME_, 86
Process pairs
socket_backup, 193
socket_get_info , 194
socket_get_len, 195
socket_get_open_info , 196
Programming considerations, 43
Protocol name
associated with service, 77
getting for number, 123
in data structure, 73
Protocol numbers
getting by name, 122
structure for, 73
protoent data structure, 73
PTCPIP^FILTER^KEY, 101
PTCPIP^FILTER^TCP^PORTS, 29, 30, 101
PTCPIP^FILTER^UDP^PORTS, 29, 30, 101
R
Raw sockets
defined, 41
limitations, 41
receiving data on nowait, 161, 164, 201, 203
receiving data on waited, 158, 160
sending data on nowait, 180, 182, 204, 206
sending data on waited, 177, 179
recv function
definition, 153
use of, 36
recv64_ function
definition, 155
recv_nw function, 153
recv_nw64_ function, 155
recvfrom function
definition, 158, 160
incompatibility with 4.3BSD, 163, 166, 202, 204
use of, 36
RESCONF file
default name, 27
specifying name of, 30
Resolver, using, 26
Resolving file names
using DEFINE commands, 29
with a HOSTS-type file, 28
Return value, 86
Round-robin filtering, defining port ranges for, 29
Route entry, 74
Routines
CRE-dependent, 81
CRE-Independent, 81
large-memory model, 81
socket, 81
socket library, 81
support, 81
wide-data model, 81
rtentry data structure, 74
Running clients or servers, 29
Runtime entry values, DEFINE names, 30
S
sb_sent field, 76
Scope testing, macros;Address testing, macros, 53
Secondary server, 28
select routine, 33
Semantics, 85
send function
definition, 166
use of, 36
send64_ function
definition, 168
send_nw function, 169
send_nw2 function, 173
send_nw2_64_ function, 175
send_nw64_ function, 171
send_nw_str data structure, 75
sendto function
definition, 177, 178
use of, 36
sendto64_ function
definition, 179
sendto_nw function, 180
sendto_nw64_ function, 182
sendto_recvfrom_buf data structure, 75, 76
servent data structure, 76
259