So_Useloopback; So_Oobinline; So_Sndlowat - HP Rp3440-4 - 9000 - 0 MB RAM Programmer's Manual

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

Advertisement

Table 3-2
Summary of Linger Options on Close
Socket
Option
SO_LINGER
SO_LINGER
SO_LINGER

SO_USELOOPBACK

This option is not applicable to UNIX Domain sockets.
SO_USELOOPBACK directs the network layer (IP) of networking code
to use the local loopback address when sending data from this socket.
Use this option only when all data sent will also be received locally.

SO_OOBINLINE

This option is not applicable to UNIX Domain sockets.
This option enables receipt of out-of-band data inline. Normally, OOB
data is extracted from the data stream and must be read with the
MSG_OOB flag specified in the recv() call. When SO_OOBINLINE is
specified, OOB data arriving at that socket remains inline and can be
read without MSG_OOB specified.
In both cases, a normal read() or recv() which would read past the
OOB mark will halt at the mark, instead leaving the OOB byte the next
byte to be read.

SO_SNDLOWAT

This option allows the user to set or fetch the low water mark for the
socket's send socket buffer. At present, this option is not used. It is
supported in anticipation of future use.
Chapter 3
Option
Linger
Set
Interval
off
don't care
on
zero
on
nonzero
Advanced Topics for Stream Sockets
Graceful
Hard
Close
Close
x
x
x
Socket Options
Wait
Does Not
for
Wait for
Close
Close
x
x
x
69

Advertisement

Table of Contents
loading

Table of Contents