The accept() function is a call, not an argument. Also, add: serial
comma, missing-hyphen, and a word-erase character.
This commit is contained in:
parent
933676242d
commit
18bd6f9514
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60347
@ -56,11 +56,11 @@ and is listening for connections after a
|
||||
.Xr listen 2 .
|
||||
The
|
||||
.Fn accept
|
||||
argument
|
||||
call
|
||||
extracts the first connection request
|
||||
on the queue of pending connections, creates
|
||||
a new socket with the same properties of
|
||||
.Fa s
|
||||
a new socket with the same properties as
|
||||
.Fa s ,
|
||||
and allocates a new file descriptor
|
||||
for the socket. If no pending connections are
|
||||
present on the queue, and the socket is not marked
|
||||
@ -79,7 +79,7 @@ remains open.
|
||||
.Pp
|
||||
The argument
|
||||
.Fa addr
|
||||
is a result parameter that is filled in with
|
||||
is a result parameter that is filled-in with
|
||||
the address of the connecting entity,
|
||||
as known to the communications layer.
|
||||
The exact format of the
|
||||
@ -129,7 +129,7 @@ request.
|
||||
Similarly, one can provide user connection rejection information
|
||||
by issuing a
|
||||
.Xr sendmsg 2
|
||||
call with providing only the control information,
|
||||
call providing only the control information,
|
||||
or by calling
|
||||
.Xr setsockopt 2 .
|
||||
.Sh IMPLEMENTATION NOTES
|
||||
|
Loading…
Reference in New Issue
Block a user