diff options
author | michaels <michaels@cvs.openbsd.org> | 1997-04-26 23:04:36 +0000 |
---|---|---|
committer | michaels <michaels@cvs.openbsd.org> | 1997-04-26 23:04:36 +0000 |
commit | e9769c0a198bc39f60215c408837473e5fcca629 (patch) | |
tree | ffb1df8dfd2bcaeeeac8c08f153ada4364b86834 /lib | |
parent | 0ebcca5fa4dd66dd35a44292ca02670a98e127d2 (diff) |
document the meaning of protocol = 0.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/socket.2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/sys/socket.2 b/lib/libc/sys/socket.2 index 364ab4a3c05..858287b77c4 100644 --- a/lib/libc/sys/socket.2 +++ b/lib/libc/sys/socket.2 @@ -116,6 +116,10 @@ must be specified in this manner. The protocol number to use is particular to the \*(lqcommunication domain\*(rq in which communication is to take place; see .Xr protocols 5 . +A value of 0 for +.Fa protocol +will let the system select an appropriate protocol for the requested +socket type. .Pp Sockets of type .Dv SOCK_STREAM |