summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getsockopt.2
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-11-03 18:34:38 +0000
committerwollman <wollman@FreeBSD.org>1995-11-03 18:34:38 +0000
commit7786ac6f8439a83c2bd10bb28d70b115858173e9 (patch)
tree7b6b903b85189b5e36a6688768889da2879c3e96 /lib/libc/sys/getsockopt.2
parentcfbb3f260a6c68348be1421a29b296eb59896606 (diff)
downloadFreeBSD-src-7786ac6f8439a83c2bd10bb28d70b115858173e9.zip
FreeBSD-src-7786ac6f8439a83c2bd10bb28d70b115858173e9.tar.gz
Document recent changes in socket buffers and listen(2).
Diffstat (limited to 'lib/libc/sys/getsockopt.2')
-rw-r--r--lib/libc/sys/getsockopt.217
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2
index 46d3d8a..24ae2b8b 100644
--- a/lib/libc/sys/getsockopt.2
+++ b/lib/libc/sys/getsockopt.2
@@ -29,9 +29,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
+.\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94
+.\" $Id$
.\"
-.Dd April 19, 1994
+.Dd November 3, 1995
.Dt GETSOCKOPT 2
.Os BSD 4.3r
.Sh NAME
@@ -228,7 +229,11 @@ are options to adjust the normal
buffer sizes allocated for output and input buffers, respectively.
The buffer size may be increased for high-volume connections,
or may be decreased to limit the possible backlog of incoming data.
-The system places an absolute limit on these values.
+The system places an absolute maximum on these values, which is accessible
+through the
+.Xr sysctl 3
+MIB variable
+.Dq Li kern.maxsockbuf .
.Pp
.Dv SO_SNDLOWAT
is an option to set the minimum count for output operations.
@@ -261,7 +266,7 @@ wait until they have received the smaller of the low water mark value
or the requested amount.
Receive calls may still return less than the low water mark if an error
occurs, a signal is caught, or the type of data next in the receive queue
-is different than that returned.
+is different from that which was returned.
.Pp
.Dv SO_SNDTIMEO
is an option to set a timeout value for output operations.
@@ -334,9 +339,11 @@ this error may also be returned if
is not in a valid part of the process address space.
.El
.Sh SEE ALSO
+.Xr sysctl 1 ,
.Xr ioctl 2 ,
.Xr socket 2 ,
-.Xr getprotoent 3
+.Xr getprotoent 3 ,
+.Xr sysctl 3 ,
.Xr protocols 5
.Sh BUGS
Several of the socket options should be handled at lower levels of the system.
OpenPOWER on IntegriCloud