HP Rp7410 BSD Sockets Interface Programmer's Guide - Page 70
So_rcvlowat, So_sndtimeo, So_rcvtimeo, So_type, So_error, So_broadcast, So_reuseport
View all HP Rp7410 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 70 highlights
Advanced Topics for Stream Sockets Socket Options SO_RCVLOWAT This option allows the user to set or fetch the low water mark for the socket's receive socket buffer. At present, this option is not used. It is supported in anticipation of future use. SO_SNDTIMEO This option allows the user to set or fetch the timeout value for a socket's send socket buffer.At present, this option is not used. It is supported in anticipation of future use. SO_RCVTIMEO This option allows the user to set or fetch the timeout value for the socket's receive socket buffer. At present, this option is not used. It is supported in anticipation of future use. SO_TYPE This option is used to return the socket type (e.g., stream, datagram, etc.). Use this option only with the getsockopt system call. SO_ERROR This option is used to get and clear any error that has occurred on the socket. Use this option only with the getsockopt system call. SO_BROADCAST This option is not supported for UNIX Domain sockets. Setting this option allows the user to send datagrams to a broadcast address. A broadcast address is defined as an internet address whose local address portion is all 1s. SO_REUSEPORT This option is AF_INET socket-specific. This option allows multiple processes to share a port. All incoming multicast or broadcast UDP datagrams that are destined for the port are delivered to all sockets that 70 Chapter 3