Check-in Number:
|
2669 | |
Date: |
2002-Oct-25 18:04:06 (local)
2002-Oct-25 16:04:06 (UTC) |
User: | rse |
Branch: | |
Comment: |
enhance rendering and fix lingering semantics |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sa/sa.pod 1.25 -> 1.26
--- sa.pod 2002/03/15 10:47:36 1.25
+++ sa.pod 2002/10/25 16:04:06 1.26
@@ -437,21 +437,29 @@
The adjusted option is controlled by I<id>. The number and type of
the expected following argument(s) are dependent on the particular
-option. Currently the following options are implement (option arguments
-in parenthesis): C<SA_OPTION_NAGLE> (C<int> I<yesno>) for enabling
-(I<yesno>=C<1>) or disabling (I<yesno>=C<0>) Nagle's Algorithm
-(see RFC898); C<SA_OPTION_LINGER> (C<struct linger *>I<linger>) for enabling
-(C<linger-E<gt>l_onoff>=C<1>) or disabling (C<linger-E<gt>l_onoff>=C<0>
-and C<linger-E<gt>l_linger=>I<seconds>) lingering on close (see
-C<struct linger> in F<sys/socket.h>); C<SA_OPTION_REUSEADDR> (C<int>
-I<yesno>) for enabling (I<yesno>=C<1>) or disabling (I<yesno>=C<0>)
-the reusability of the address on binding (see C<SO_REUSEADDR>
-of setsockopt(2)), C<SA_OPTION_REUSEPORT> (C<int> I<yesno>) for
-enabling (I<yesno>=C<1>) or disabling (I<yesno>=C<0>) the reusability
-of the port on binding (see C<SO_REUSEPORT> of setsockopt(2)),
-C<SA_OPTION_NONBLOCK> (C<int> I<yesno>) for enabling (I<yesno>=C<1>) or
-disabling (I<yesno>=C<0>) non-blocking I/O mode (see C<O_NONBLOCK> of
-fcntl(2)).
+option. Currently the following options are implemented (option arguments
+in parenthesis):
+
+C<SA_OPTION_NAGLE> (C<int> I<yesno>) for enabling (I<yesno>=C<1>) or
+disabling (I<yesno> == C<0>) Nagle's Algorithm (see RFC898).
+
+C<SA_OPTION_LINGER> (C<struct linger *>I<linger>) for enabling
+(C<linger-E<gt>l_onoff> == C<1> and C<linger-E<gt>l_linger> ==
+I<seconds>) or disabling (C<linger-E<gt>l_onoff> == C<0>) lingering
+on close (see C<SO_LINGER> of setsockopt(2) and C<struct linger> in
+F<sys/socket.h>).
+
+C<SA_OPTION_REUSEADDR> (C<int> I<yesno>) for enabling (I<yesno> ==
+C<1>) or disabling (I<yesno> == C<0>) the reusability of the address on
+binding (see C<SO_REUSEADDR> of setsockopt(2)).
+
+C<SA_OPTION_REUSEPORT> (C<int> I<yesno>) for enabling (I<yesno> == C<1>)
+or disabling (I<yesno> == C<0>) the reusability of the port on binding
+(see C<SO_REUSEPORT> of setsockopt(2)).
+
+C<SA_OPTION_NONBLOCK> (C<int> I<yesno>) for enabling (I<yesno> == C<1>)
+or disabling (I<yesno> == C<0>) non-blocking I/O mode (see C<O_NONBLOCK>
+of fcntl(2)).
Example: C<sa_option(sa, SA_OPTION_NONBLOCK, 1);>
|
|