HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 69
So_useloopback, So_oobinline, So_sndlowat
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 69 highlights
Advanced Topics for Stream Sockets Socket Options Table 3-2 Summary of Linger Options on Close Socket Option Option Set Linger Graceful Hard Interval Close Close Wait for Close SO_LINGER off don't care x SO_LINGER on zero SO_LINGER on nonzero x x x Does Not Wait for Close x x 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 69