httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-apr/docs networkio.txt
Date Wed, 14 Apr 1999 21:03:06 GMT
rbb         99/04/14 14:03:04

  Modified:    docs     networkio.txt
  Log:
  Updated network I/O docs.
  
  Revision  Changes    Path
  1.7       +17 -5     apache-apr/docs/networkio.txt
  
  Index: networkio.txt
  ===================================================================
  RCS file: /home/cvs/apache-apr/docs/networkio.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- networkio.txt	1999/04/14 19:18:15	1.6
  +++ networkio.txt	1999/04/14 21:03:01	1.7
  @@ -99,17 +99,27 @@
   	return) Number of file desriptors triggered.  0 means call timed out.
   		-1 returned on failure.
   
  - APRStatus apr_bind(APRSocket, APRNetAddr *)
  + apr_status_t apr_setport(apr_socket_t *, apr_uint32_t)
  +        Assign the port to the socket variable.
  +     Arguments:
  +        arg 1)  The socket variable to modify.
  +        arg 2)  The port to be bound to the socket.
  +        return) APR_SUCCESS or APR_FAILURE
  +
  + apr_status_t apr_bind(apr_socket_t)
   	Assign an address to an unnamed port
        Arguments:
  -	arg 1)  The file desc of the socket to bind.
  -	arg 2)  The structure pointing to address to bind to.
  - APRStatus apr_listen(APRSocket, APRUInt32)
  +	arg 1)  The abstracted socket to bind.
  +        return) APR_SUCCESS or APR_FAILURE
  +
  + apr_status_t apr_listen(apr_socket_t *, apr_int32_t)
   	Mark a socket as accepting connections and limit the size of the 
   	listen queue.
        Arguments:
  -	arg 1)  The file desc of the socket to mark
  +	arg 1)  The socket to mark
   	arg 2)  The size of the listen queue.
  +        return) APR_SUCCESS or APR_FAILURE
  +
    APRStatus apr_accept(APRSocket, APRNetAddr *, APRSocket *)
   	extract first connection from listen queue, and sets up a new 
   	connection on a new socket of the same type and family.  It allocates
  @@ -200,4 +210,6 @@
   struct apr_socket_t {
       int socketdes
       char *hostname
  +    struct sockaddr *addr
  +    size_t addr_len
   }
  
  
  

Mime
View raw message