HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 193

Index

Page 193 highlights

Index A accept domain stream sockets, 124, 130, 136 Internet stream sockets, 29, 37, 43 nonblocking I/O, 77 pending connections, 178 summary table, 173 address conversion call, 48 addressing domain, 31, 126, 150 AF_INET, 18, 19, 28, 89 AF_UNIX, 18, 19, 124 Asynchronous examples, 76 sockets, 115 B bcmp, 179 bcopy, 179 bind datagram sockets, 87, 93 domain datagram sockets, 149 domain stream sockets, 124 example usage, 66 Internet stream sockets, 29, 87 summary table, 173 blocking mode, 121 broadcast address, 122 bzero, 179 C Client-server model, 21 close domain stream sockets, 139 Internet datagram sockets, 100 Internet stream sockets, 47 summary table, 174 with shutdown, 177 with SO_LINGER option, 78 connect domain stream sockets, 134 Internet stream sockets, 41 SO_REUSEADDR, 65 specifying default socket address, 112 summary table, 173 D datagram sockets, 18, 86, 101, 112, 173 E endhostent, 176 endnetent, 176 endprotoent, 176 endservent, 176 F fcntl, 77, 121, 175 FIOASYNC, 175 FIONREAD, 175, 178 FIOSNBIO, 77, 121 G getcwd, 179 gethostbyaddr, 39, 176 gethostbyent, 176 gethostbyname, 89, 176 gethostent, 33, 90 getnetbyaddr, 176 getnetbyent, 176 getnetbyname, 176 getpeerbyname, 174 getprotobyent, 176 getprotobyname, 35, 40, 92, 176 getprotobynumber, 176 getservbyent, 176 getservbyname, 34, 90, 176 getservbyport, 176 getservent, 91 getsockbyname, 174 getsockname, 48 getsockopt, 62, 174 getwd, 179 H htonl, 177 htons, 177 I index, 179 inet, 89 inet_addr, 176 inet_lnaof, 176 inet_makeaddr, 176 inet_netof, 176 inet_network, 176 inetd, 169 Internet address family, 18, 19 sockets, 28 Internet address, 18 Internet daemon, 169 Interprocess Communication accepting a connection, 38, 131 adding server process to the Internet daemon, 169 address conversion, 177 address conversion call, 48 address family, 17, 32, 89 addressing, 17 addressing domain, 31, 88, 126 AF_INET, 32 association, 17 binding, 18 binding a socket address to server processs", 36, 129 binding a socket to UNIX domain datagram sockets, 153 binding socket addresses to datagram sockets, 93 BSD IPC, 177, 178, 179 193

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

Index
193
A
accept
domain stream sockets
,
124
,
130
,
136
Internet stream sockets
,
29
,
37
,
43
nonblocking I/O
,
77
pending connections
,
178
summary table
,
173
address conversion call
,
48
addressing domain
,
31
,
126
,
150
AF_INET
,
18
,
19
,
28
,
89
AF_UNIX
,
18
,
19
,
124
Asynchronous
examples
,
76
sockets
,
115
B
bcmp
,
179
bcopy
,
179
bind
datagram sockets
,
87
,
93
domain datagram sockets
,
149
domain stream sockets
,
124
example usage
,
66
Internet stream sockets
,
29
,
87
summary table
,
173
blocking mode
,
121
broadcast address
,
122
bzero
,
179
C
Client-server model
,
21
close
domain stream sockets
,
139
Internet
datagram
sockets
,
100
Internet stream sockets
,
47
summary table
,
174
with shutdown
,
177
with SO_LINGER option
,
78
connect
domain stream sockets
,
134
Internet stream sockets
,
41
SO_REUSEADDR
,
65
specifying
default
socket
address
,
112
summary table
,
173
D
datagram sockets
,
18
,
86
,
101
,
112
,
173
E
endhostent
,
176
endnetent
,
176
endprotoent
,
176
endservent
,
176
F
fcntl
,
77
,
121
,
175
FIOASYNC
,
175
FIONREAD
,
175
,
178
FIOSNBIO
,
77
,
121
G
getcwd
,
179
gethostbyaddr
,
39
,
176
gethostbyent
,
176
gethostbyname
,
89
,
176
gethostent
,
33
,
90
getnetbyaddr
,
176
getnetbyent
,
176
getnetbyname
,
176
getpeerbyname
,
174
getprotobyent
,
176
getprotobyname
,
35
,
40
,
92
,
176
getprotobynumber
,
176
getservbyent
,
176
getservbyname
,
34
,
90
,
176
getservbyport
,
176
getservent
,
91
getsockbyname
,
174
getsockname
,
48
getsockopt
,
62
,
174
getwd
,
179
H
htonl
,
177
htons
,
177
I
index
,
179
inet
,
89
inet_addr
,
176
inet_lnaof
,
176
inet_makeaddr
,
176
inet_netof
,
176
inet_network
,
176
inetd
,
169
Internet
address family
,
18
,
19
sockets
,
28
Internet address
,
18
Internet daemon
,
169
Interprocess Communication
accepting a connection
,
38
,
131
adding server process to the
Internet daemon
,
169
address conversion
,
177
address conversion call
,
48
address family
,
17
,
32
,
89
addressing
,
17
addressing domain
,
31
,
88
,
126
AF_INET
,
32
association
,
17
binding
,
18
binding a socket address to
server processs"
,
36
,
129
binding
a
socket
to
UNIX
domain datagram sockets
,
153
binding socket addresses to
datagram sockets
,
93
BSD IPC
,
177
,
178
,
179