HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual page 194

Bsd sockets interface programmer’s guide
Hide thumbs Also See for Rp3440-4 - 9000 - 0 MB RAM:
Table of Contents

Advertisement

Index
,
BSD IPC connections
29
,
BSD IPC system calls
173
BSD
IPC
using
datagram
,
sockets
86
,
channel
18
,
client
21
,
client-server model
21
,
,
closing a socket
47
100
159
,
communication domain
,
Creating a Socket
128
,
,
creating a socket
35
40
,
creating sockets
92
,
,
datagram sockets
18
86
declaring
socket
address
,
,
,
variables
31
88
126
example using stream sockets
48
examples
using
datagram
,
sockets
101
,
FIONREAD
178
,
FIOSBNIO
77
,
Flag Options
45
,
,
flag options
98
138
getting
and
setting
,
options
62
getting the port address for the
,
desired server
90
getting
the
hostsInternetaddress"
getting
the
hostsnetworkaddress"
,
graceful close
49
I/O multiplexing with select
114
,
INADDR_ANY
91
incoming connection requests
173
,
,
Internet address
18
31
,
ioctl
178
,
,
,
library calls
175
177
,
library equivalencies
179
,
library routines
25
194
,
124
LINGER options
listensbacklogparameter"
,
message
18
,
MSG_OOB
MSG_PEEK
nonblocking I/O
nondestructive read
,
,
139
other system calls
out of band data
18
out-of-band data
,
packet
18
,
,
133
pathname
,
peer
18
pending connections
,
port
18
port address
,
portability issues
preparing address variables
,
,
31
88
126
preview an incoming message
99
preview incoming data
programming hints
,
protocols
18
socket
pty location
Receiving Data
receiving data
receiving messages
remote
requesting a connection
,
32
134
remote
sending and receiving data
,
89
136
sending
,
messages
sending and receiving out-of-
band data
,
sending data
sending messages
,
,
86
server
21
setting the server up to wait for
179
connection
,
signal calls
SIOCATMARK
,
47
,
178
,
45
82
,
,
,
45
99
112
,
,
41
121
,
45
,
174
,
45
,
81
126
,
178
,
,
31
88
,
177
,
,
,
46
,
167
,
178
,
44
,
137
,
,
96
156
,
,
41
,
,
43
and
receiving
,
,
95
155
,
81
Interprocess communication
,
,
43
136
,
95
,
,
37
130
179
,
83
,
SO_DONTROUTE
67
,
SO_KEEPALIVE
66
,
,
SO_LINGER
68
78
,
SO_RCVBUF
67
,
SO_REUSEADDR
65
,
SO_SNDBUF
67
,
,
,
sockaddr
31
88
126
,
,
,
sockaddr_in
31
88
126
,
,
,
socket address
19
31
,
,
socket descriptor
19
35
specifying a default socket
,
address
112
,
sprintf return value
179
,
stream sockets
18
summary tables for system and
,
library calls
173
,
TCP
19
,
troubleshooting
167
,
UDP
19
using a wildcard local address
,
34
91
using broadcast addresses
using diagnostic utilities as
,
troubleshooting
168
using
read/write
to
stream
,
transparent
80
,
using shutdown
78
,
wildcard addressing
31
writing the client process
133
writing the server and client
,
processes
92
writing the server process
128
,
addressing domain
150
,
BSD IPC connections
17
,
creating a socket
152
declaring
socket
address
,
variables
150
,
pathname
150
126
,
128
,
,
122
make
sockets
,
,
34
91
,
,
40
,
,
35

Advertisement

Table of Contents
loading

Table of Contents