rbb 99/04/14 09:30:45
Modified: docs networkio.txt
Log:
Update for apr_setsockopt
Revision Changes Path
1.5 +10 -1 apache-apr/docs/networkio.txt
Index: networkio.txt
===================================================================
RCS file: /home/cvs/apache-apr/docs/networkio.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- networkio.txt 1999/04/14 15:13:41 1.4
+++ networkio.txt 1999/04/14 16:30:44 1.5
@@ -48,11 +48,20 @@
arg 4) time to wait for message from network, in seconds.
return) Amount of data received in bytes
- APRStatus apr_setsocketoption(APRSocket, APRSocketOptionData);
+ apr_status_t apr_setsocketoption(apr_socket_t *, apr_socketoption_t,
apr_int32_t on);
Set options on the specified socket
Arguments:
arg 1) The abstracted socket to apply the options to
arg 2) The options to be applied. Or'ed together
+ APR_SO_DEBUG
+ APR_SO_KEEPALIVE
+ APR_SO_LINGER
+ APR_SO_NONBLOCK
+ APR_SO_REUSEADDR
+ arg 3) 1 if turning the option on, 0 if turning it off.
+ return) APR_SUCCESS or APR_FAILURE.
+Note: To unset an option, call apr_setsocketoption with the same argument.
+
APRStatus apr_poll(APRPollDesc, APRInt32, APRInt32, APRInt32)
Check an array of File Descriptors for specified events
Arguments: