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

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

Advertisement

System Call
Can be used to improve efficiency for a process that
select
accesses multiple sockets or other I/O devices
simultaneously. Refer to the sections on
"Synchronous I/O Multiplexing with Select."
Can be used for finding the number of receivable
ioctl
bytes with FIONREAD and for setting the
nonblocking I/O flag with FIOSBNBIO. Can also be
used for setting a socket to receive asynchronous
signals with FIOASYNC .
Can be used for duplicating a socket descriptor and
fcntl
for setting the O_NDELAY or O_NONBLOCK flag.
BSD Sockets attempts to isolate host-specific information from
applications by providing library calls that return the necessary
information.
The following table contains a summary of the library calls used with
BSD Sockets. The library calls are in the common "c" library named
libc.sl. Therefore, there is no need to specify any library name on the
cc command line to use these library calls, libc.sl is used
automatically.
Chapter 8
Summary Tables for System and Library Calls
Description
Programming Hints
175

Advertisement

Table of Contents
loading

Table of Contents