Lines Matching defs:socket

96                                    * IPv6 listening socket.
107 /** Define what type of socket shutdown should occur. */
211 * APRs socket address type, used to ensure protocol independence
255 * Support reusing the socket on platforms which support it (from disconnect,
277 * Create a socket.
278 * @param new_sock The new socket that has been set up.
279 * @param family The address family of the socket (e.g., APR_INET).
280 * @param type The type of the socket (e.g., SOCK_STREAM).
281 * @param protocol The protocol of the socket (e.g., APR_PROTO_TCP).
284 * socket. The caller must ensure that it is not used by other threads
293 * Shutdown either reading, writing, or both sides of a socket.
294 * @param thesocket The socket to close
295 * @param how How to shutdown the socket. One of:
302 * @remark This does not actually close the socket descriptor, it just
303 * controls which calls are still valid on the socket.
309 * Close a socket.
310 * @param thesocket The socket to close
315 * Bind the socket to its associated port
316 * @param sock The socket to bind
317 * @param sa The socket address to bind to
325 * Listen to a bound socket for connections.
326 * @param sock The socket to listen on
336 * @param new_sock A copy of the socket that is connected to the socket that
337 * made the connection request. This is the socket which should
339 * @param sock The socket we are listening on.
340 * @param connection_pool The pool for the new socket.
342 * socket. The caller must ensure that it is not used by other threads
350 * Issue a connection request to a socket either on the same machine
352 * @param sock The socket we wish to use for our side of the connection
359 * Determine whether the receive part of the socket has been closed by
361 * return APR_EOF), if the socket's receive buffer is empty. This
364 * @param sock The socket to check
409 * when processing wildcard socket addresses.
462 * Return the data associated with the current socket
463 * @param data The user data associated with the socket.
465 * @param sock The currently open socket.
471 * Set the data associated with the current socket.
472 * @param sock The currently open socket.
473 * @param data The user data to associate with the socket.
475 * @param cleanup The cleanup to call when the socket is destroyed.
483 * @param sock The socket to send the data over.
491 * socket option.
503 * @param sock The socket to send the data over.
511 * socket option.
524 * @param sock The socket to send from
536 * Read data from a socket. On success, the address of the peer from
542 * @param sock The socket to use
556 * Send a file from an open file descriptor to a socket, along with
558 * @param sock The socket to which we're writing
568 * APR_SO_NONBLOCK socket option.
584 * @param sock The socket to read the data from.
592 * socket option.
605 * Setup socket options for the specified socket
606 * @param sock The socket to set up.
612 * APR_SO_NONBLOCK -- Turns blocking on/off for socket
630 * Setup socket timeout for the specified socket
631 * @param sock The socket to set up.
644 * Query socket options for the specified socket
645 * @param sock The socket to query
651 * APR_SO_NONBLOCK -- Turns blocking on/off for socket
657 * APR_SO_DISCONNECTED -- Query the disconnected state of the socket.
666 * Query socket timeout for the specified socket
667 * @param sock The socket to query
674 * Query the specified socket if at the OOB/Urgent data mark
675 * @param sock The socket to query
676 * @param atmark Is set to true if socket is at the OOB/urgent mark,
683 * Return an address associated with a socket; either the address to
684 * which the socket is bound locally or the address of the peer
685 * to which the socket is connected.
688 * @param sock The socket to use
696 * an APR socket address. APR will allocate storage for the IP address
699 * @param sockaddr The socket address to reference.
706 * socket address @a sockaddr into the buffer @a buf (of size @a buflen).
707 * @param sockaddr The socket address to reference.
713 * See if the IP addresses in two APR socket addresses are
717 * @param addr1 One of the APR socket addresses.
718 * @param addr2 The other APR socket address.
726 * See if the IP address in an APR socket address refers to the wildcard
729 * @param addr The APR socket address to examine.
736 * Return the type of the socket.
737 * @param sock The socket to query.
767 * @param sa The socket address to test
768 * @return non-zero if the socket address is within the subnet, 0 otherwise
775 * @param sock The socket to put the accept filter on.
787 * Return the protocol of the socket.
788 * @param sock The socket to query.
795 * Get the pool used by the socket.
797 APR_POOL_DECLARE_ACCESSOR(socket);
800 * Set a socket to be inherited by child processes.
802 APR_DECLARE_INHERIT_SET(socket);
805 * Unset a socket from being inherited by child processes.
807 APR_DECLARE_INHERIT_UNSET(socket);
816 * @param sock The socket to join a multicast group
831 * @param sock The socket to leave a multicast group
845 * @param sock The socket to set the multicast ttl
855 * @param sock The socket to set multicast loopback
864 * @param sock The socket to set the multicast interface on