So_Rcvlowat; So_Sndtimeo; So_Rcvtimeo; So_Type - 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

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

Advertisement

Table of Contents
loading

Table of Contents