diff options
author | silby <silby@FreeBSD.org> | 2002-05-08 18:19:01 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2002-05-08 18:19:01 +0000 |
commit | 2f7396a7470b0c2483daaa77ea1e5b807c402056 (patch) | |
tree | 16cbd07962cc2df5f9ccdc0f03f5119a200132e7 /lib/libc/sys/accept.2 | |
parent | f37958699205ff98449f3e2190be6f5499543446 (diff) | |
download | FreeBSD-src-2f7396a7470b0c2483daaa77ea1e5b807c402056.zip FreeBSD-src-2f7396a7470b0c2483daaa77ea1e5b807c402056.tar.gz |
Some updates to mention accept filters and how
listen queues work in a syncache world.
MFC after: 3 days
Diffstat (limited to 'lib/libc/sys/accept.2')
-rw-r--r-- | lib/libc/sys/accept.2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/accept.2 b/lib/libc/sys/accept.2 index 06b0664..aac5024 100644 --- a/lib/libc/sys/accept.2 +++ b/lib/libc/sys/accept.2 @@ -115,6 +115,10 @@ request and not implying confirmation. Confirmation can be implied by a normal read or write on the new file descriptor, and rejection can be implied by closing the new socket. +.Pp +For some applications, performance may be enhanced by using an +.Xr accept_filter 9 +to pre-process incoming connections. .Sh RETURN VALUES The call returns \-1 on error. If it succeeds, it returns a non-negative integer that is a descriptor for the accepted socket. @@ -151,6 +155,7 @@ A connection arrived, but it was closed while waiting on the listen queue. .El .Sh SEE ALSO +.Xr accept_filter 9 , .Xr bind 2 , .Xr connect 2 , .Xr getpeername 2 , |