ossp-pkg/sa/sa.pod 1.21 -> 1.22
--- sa.pod 2002/01/02 13:35:36 1.21
+++ sa.pod 2002/01/02 13:44:48 1.22
@@ -435,15 +435,19 @@
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_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>=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>)
-non-blocking I/O mode (see C<O_NONBLOCK> of fcntl(2)).
+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);>
|
|