apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r598101 [20/31] - in /apr/site/trunk/docs/docs: apr-util/0.9/ apr-util/1.2/ apr-util/trunk/ apr/0.9/ apr/1.2/ apr/trunk/
Date Mon, 26 Nov 2007 01:06:54 GMT
Modified: apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h-source.html Sun Nov 25 17:05:47 2007
@@ -530,324 +530,328 @@
 <a name="l00507"></a>00507                                             apr_size_t *len);
 <a name="l00508"></a>00508 <span class="comment"></span>
 <a name="l00509"></a>00509 <span class="comment">/**</span>
-<a name="l00510"></a>00510 <span class="comment"> * @param from The apr_sockaddr_t to fill in the recipient info</span>
-<a name="l00511"></a>00511 <span class="comment"> * @param sock The socket to use</span>
-<a name="l00512"></a>00512 <span class="comment"> * @param flags The flags to use</span>
-<a name="l00513"></a>00513 <span class="comment"> * @param buf  The buffer to use</span>
-<a name="l00514"></a>00514 <span class="comment"> * @param len  The length of the available buffer</span>
-<a name="l00515"></a>00515 <span class="comment"> */</span>
-<a name="l00516"></a>00516 
-<a name="l00517"></a>00517 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g80880312b41e86c9c266ede1a504e2ca">apr_socket_recvfrom</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *from, 
-<a name="l00518"></a>00518                                               apr_socket_t *sock,
-<a name="l00519"></a>00519                                               apr_int32_t flags, <span class="keywordtype">char</span> *buf, 
-<a name="l00520"></a>00520                                               apr_size_t *len);
-<a name="l00521"></a>00521  
-<a name="l00522"></a>00522 <span class="preprocessor">#if APR_HAS_SENDFILE || defined(DOXYGEN)</span>
-<a name="l00523"></a>00523 <span class="preprocessor"></span><span class="comment"></span>
-<a name="l00524"></a>00524 <span class="comment">/**</span>
-<a name="l00525"></a>00525 <span class="comment"> * Send a file from an open file descriptor to a socket, along with </span>
-<a name="l00526"></a>00526 <span class="comment"> * optional headers and trailers</span>
-<a name="l00527"></a>00527 <span class="comment"> * @param sock The socket to which we're writing</span>
-<a name="l00528"></a>00528 <span class="comment"> * @param file The open file from which to read</span>
-<a name="l00529"></a>00529 <span class="comment"> * @param hdtr A structure containing the headers and trailers to send</span>
-<a name="l00530"></a>00530 <span class="comment"> * @param offset Offset into the file where we should begin writing</span>
-<a name="l00531"></a>00531 <span class="comment"> * @param len (input)  - Number of bytes to send from the file </span>
-<a name="l00532"></a>00532 <span class="comment"> *            (output) - Number of bytes actually sent, </span>
-<a name="l00533"></a>00533 <span class="comment"> *                       including headers, file, and trailers</span>
-<a name="l00534"></a>00534 <span class="comment"> * @param flags APR flags that are mapped to OS specific flags</span>
-<a name="l00535"></a>00535 <span class="comment"> * @remark This functions acts like a blocking write by default.  To change </span>
-<a name="l00536"></a>00536 <span class="comment"> *         this behavior, use apr_socket_timeout_set() or the</span>
-<a name="l00537"></a>00537 <span class="comment"> *         APR_SO_NONBLOCK socket option.</span>
-<a name="l00538"></a>00538 <span class="comment"> * The number of bytes actually sent is stored in the len parameter.</span>
-<a name="l00539"></a>00539 <span class="comment"> * The offset parameter is passed by reference for no reason; its</span>
-<a name="l00540"></a>00540 <span class="comment"> * value will never be modified by the apr_socket_sendfile() function.</span>
-<a name="l00541"></a>00541 <span class="comment"> */</span>
-<a name="l00542"></a>00542 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g3d93e6212c4c27f2390b0057f8f4a8be">apr_socket_sendfile</a>(apr_socket_t *sock, 
-<a name="l00543"></a>00543                                               <a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *file,
-<a name="l00544"></a>00544                                               <a class="code" href="group__apr__network__io.html#g97887d5358a9c79c241ccafab61d8ff5">apr_hdtr_t</a> *hdtr,
-<a name="l00545"></a>00545                                               apr_off_t *offset,
-<a name="l00546"></a>00546                                               apr_size_t *len,
-<a name="l00547"></a>00547                                               apr_int32_t flags);
-<a name="l00548"></a>00548 
-<a name="l00549"></a>00549 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_SENDFILE */</span>
-<a name="l00550"></a>00550 <span class="comment"></span>
-<a name="l00551"></a>00551 <span class="comment">/**</span>
-<a name="l00552"></a>00552 <span class="comment"> * Read data from a network.</span>
-<a name="l00553"></a>00553 <span class="comment"> * @param sock The socket to read the data from.</span>
-<a name="l00554"></a>00554 <span class="comment"> * @param buf The buffer to store the data in. </span>
-<a name="l00555"></a>00555 <span class="comment"> * @param len On entry, the number of bytes to receive; on exit, the number</span>
-<a name="l00556"></a>00556 <span class="comment"> *            of bytes received.</span>
-<a name="l00557"></a>00557 <span class="comment"> * @remark</span>
-<a name="l00558"></a>00558 <span class="comment"> * &lt;PRE&gt;</span>
-<a name="l00559"></a>00559 <span class="comment"> * This functions acts like a blocking read by default.  To change </span>
-<a name="l00560"></a>00560 <span class="comment"> * this behavior, use apr_socket_timeout_set() or the APR_SO_NONBLOCK</span>
-<a name="l00561"></a>00561 <span class="comment"> * socket option.</span>
-<a name="l00562"></a>00562 <span class="comment"> * The number of bytes actually received is stored in argument 3.</span>
-<a name="l00563"></a>00563 <span class="comment"> *</span>
-<a name="l00564"></a>00564 <span class="comment"> * It is possible for both bytes to be received and an APR_EOF or</span>
-<a name="l00565"></a>00565 <span class="comment"> * other error to be returned.</span>
-<a name="l00566"></a>00566 <span class="comment"> *</span>
-<a name="l00567"></a>00567 <span class="comment"> * APR_EINTR is never returned.</span>
-<a name="l00568"></a>00568 <span class="comment"> * &lt;/PRE&gt;</span>
-<a name="l00569"></a>00569 <span class="comment"> */</span>
-<a name="l00570"></a>00570 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#ga6ee00191f197f64b5a5409f4aff53d1">apr_socket_recv</a>(apr_socket_t *sock, 
-<a name="l00571"></a>00571                                    <span class="keywordtype">char</span> *buf, apr_size_t *len);
-<a name="l00572"></a>00572 <span class="comment"></span>
-<a name="l00573"></a>00573 <span class="comment">/**</span>
-<a name="l00574"></a>00574 <span class="comment"> * Setup socket options for the specified socket</span>
-<a name="l00575"></a>00575 <span class="comment"> * @param sock The socket to set up.</span>
-<a name="l00576"></a>00576 <span class="comment"> * @param opt The option we would like to configure.  One of:</span>
-<a name="l00577"></a>00577 <span class="comment"> * &lt;PRE&gt;</span>
-<a name="l00578"></a>00578 <span class="comment"> *            APR_SO_DEBUG      --  turn on debugging information </span>
-<a name="l00579"></a>00579 <span class="comment"> *            APR_SO_KEEPALIVE  --  keep connections active</span>
-<a name="l00580"></a>00580 <span class="comment"> *            APR_SO_LINGER     --  lingers on close if data is present</span>
-<a name="l00581"></a>00581 <span class="comment"> *            APR_SO_NONBLOCK   --  Turns blocking on/off for socket</span>
-<a name="l00582"></a>00582 <span class="comment"> *                                  When this option is enabled, use</span>
-<a name="l00583"></a>00583 <span class="comment"> *                                  the APR_STATUS_IS_EAGAIN() macro to</span>
-<a name="l00584"></a>00584 <span class="comment"> *                                  see if a send or receive function</span>
-<a name="l00585"></a>00585 <span class="comment"> *                                  could not transfer data without</span>
-<a name="l00586"></a>00586 <span class="comment"> *                                  blocking.</span>
-<a name="l00587"></a>00587 <span class="comment"> *            APR_SO_REUSEADDR  --  The rules used in validating addresses</span>
-<a name="l00588"></a>00588 <span class="comment"> *                                  supplied to bind should allow reuse</span>
-<a name="l00589"></a>00589 <span class="comment"> *                                  of local addresses.</span>
-<a name="l00590"></a>00590 <span class="comment"> *            APR_SO_SNDBUF     --  Set the SendBufferSize</span>
-<a name="l00591"></a>00591 <span class="comment"> *            APR_SO_RCVBUF     --  Set the ReceiveBufferSize</span>
-<a name="l00592"></a>00592 <span class="comment"> * &lt;/PRE&gt;</span>
-<a name="l00593"></a>00593 <span class="comment"> * @param on Value for the option.</span>
-<a name="l00594"></a>00594 <span class="comment"> */</span>
-<a name="l00595"></a>00595 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g08f5e505fa611005f56c12783269ffa9">apr_socket_opt_set</a>(apr_socket_t *sock,
-<a name="l00596"></a>00596                                              apr_int32_t opt, apr_int32_t on);
-<a name="l00597"></a>00597 <span class="comment"></span>
-<a name="l00598"></a>00598 <span class="comment">/**</span>
-<a name="l00599"></a>00599 <span class="comment"> * Setup socket timeout for the specified socket</span>
-<a name="l00600"></a>00600 <span class="comment"> * @param sock The socket to set up.</span>
-<a name="l00601"></a>00601 <span class="comment"> * @param t Value for the timeout.</span>
-<a name="l00602"></a>00602 <span class="comment"> * &lt;PRE&gt;</span>
-<a name="l00603"></a>00603 <span class="comment"> *   t &gt; 0  -- read and write calls return APR_TIMEUP if specified time</span>
-<a name="l00604"></a>00604 <span class="comment"> *             elapsess with no data read or written</span>
-<a name="l00605"></a>00605 <span class="comment"> *   t == 0 -- read and write calls never block</span>
-<a name="l00606"></a>00606 <span class="comment"> *   t &lt; 0  -- read and write calls block</span>
-<a name="l00607"></a>00607 <span class="comment"> * &lt;/PRE&gt;</span>
-<a name="l00608"></a>00608 <span class="comment"> */</span>
-<a name="l00609"></a>00609 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g945bdbe807ec5635d65a6fd9ddb78c29">apr_socket_timeout_set</a>(apr_socket_t *sock,
-<a name="l00610"></a>00610                                                  <a class="code" href="group__apr__time.html#gae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> t);
-<a name="l00611"></a>00611 <span class="comment"></span>
-<a name="l00612"></a>00612 <span class="comment">/**</span>
-<a name="l00613"></a>00613 <span class="comment"> * Query socket options for the specified socket</span>
-<a name="l00614"></a>00614 <span class="comment"> * @param sock The socket to query</span>
-<a name="l00615"></a>00615 <span class="comment"> * @param opt The option we would like to query.  One of:</span>
-<a name="l00616"></a>00616 <span class="comment"> * &lt;PRE&gt;</span>
-<a name="l00617"></a>00617 <span class="comment"> *            APR_SO_DEBUG      --  turn on debugging information </span>
-<a name="l00618"></a>00618 <span class="comment"> *            APR_SO_KEEPALIVE  --  keep connections active</span>
-<a name="l00619"></a>00619 <span class="comment"> *            APR_SO_LINGER     --  lingers on close if data is present</span>
-<a name="l00620"></a>00620 <span class="comment"> *            APR_SO_NONBLOCK   --  Turns blocking on/off for socket</span>
-<a name="l00621"></a>00621 <span class="comment"> *            APR_SO_REUSEADDR  --  The rules used in validating addresses</span>
-<a name="l00622"></a>00622 <span class="comment"> *                                  supplied to bind should allow reuse</span>
-<a name="l00623"></a>00623 <span class="comment"> *                                  of local addresses.</span>
-<a name="l00624"></a>00624 <span class="comment"> *            APR_SO_SNDBUF     --  Set the SendBufferSize</span>
-<a name="l00625"></a>00625 <span class="comment"> *            APR_SO_RCVBUF     --  Set the ReceiveBufferSize</span>
-<a name="l00626"></a>00626 <span class="comment"> *            APR_SO_DISCONNECTED -- Query the disconnected state of the socket.</span>
-<a name="l00627"></a>00627 <span class="comment"> *                                  (Currently only used on Windows)</span>
-<a name="l00628"></a>00628 <span class="comment"> * &lt;/PRE&gt;</span>
-<a name="l00629"></a>00629 <span class="comment"> * @param on Socket option returned on the call.</span>
-<a name="l00630"></a>00630 <span class="comment"> */</span>
-<a name="l00631"></a>00631 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g1934c2d5943efc8ce925f376f3c2e17e">apr_socket_opt_get</a>(apr_socket_t *sock, 
-<a name="l00632"></a>00632                                              apr_int32_t opt, apr_int32_t *on);
-<a name="l00633"></a>00633 <span class="comment"></span>
-<a name="l00634"></a>00634 <span class="comment">/**</span>
-<a name="l00635"></a>00635 <span class="comment"> * Query socket timeout for the specified socket</span>
-<a name="l00636"></a>00636 <span class="comment"> * @param sock The socket to query</span>
-<a name="l00637"></a>00637 <span class="comment"> * @param t Socket timeout returned from the query.</span>
-<a name="l00638"></a>00638 <span class="comment"> */</span>
-<a name="l00639"></a>00639 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#ga32313b54afed590367c8571075d2bc1">apr_socket_timeout_get</a>(apr_socket_t *sock, 
-<a name="l00640"></a>00640                                                  <a class="code" href="group__apr__time.html#gae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> *t);
-<a name="l00641"></a>00641 <span class="comment"></span>
-<a name="l00642"></a>00642 <span class="comment">/**</span>
-<a name="l00643"></a>00643 <span class="comment"> * Query the specified socket if at the OOB/Urgent data mark</span>
-<a name="l00644"></a>00644 <span class="comment"> * @param sock The socket to query</span>
-<a name="l00645"></a>00645 <span class="comment"> * @param atmark Is set to true if socket is at the OOB/urgent mark,</span>
-<a name="l00646"></a>00646 <span class="comment"> *               otherwise is set to false.</span>
-<a name="l00647"></a>00647 <span class="comment"> */</span>
-<a name="l00648"></a>00648 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g2389de257444870974b5ded91cf7a10c">apr_socket_atmark</a>(apr_socket_t *sock, 
-<a name="l00649"></a>00649                                             <span class="keywordtype">int</span> *atmark);
-<a name="l00650"></a>00650 <span class="comment"></span>
-<a name="l00651"></a>00651 <span class="comment">/**</span>
-<a name="l00652"></a>00652 <span class="comment"> * Return an apr_sockaddr_t from an apr_socket_t</span>
-<a name="l00653"></a>00653 <span class="comment"> * @param sa The returned apr_sockaddr_t.</span>
-<a name="l00654"></a>00654 <span class="comment"> * @param which Which interface do we want the apr_sockaddr_t for?</span>
-<a name="l00655"></a>00655 <span class="comment"> * @param sock The socket to use</span>
-<a name="l00656"></a>00656 <span class="comment"> */</span>
-<a name="l00657"></a>00657 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gcad56b59eafc6ad2459bf6493c992515">apr_socket_addr_get</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> **sa,
-<a name="l00658"></a>00658                                               apr_interface_e which,
-<a name="l00659"></a>00659                                               apr_socket_t *sock);
-<a name="l00660"></a>00660  <span class="comment"></span>
-<a name="l00661"></a>00661 <span class="comment">/**</span>
-<a name="l00662"></a>00662 <span class="comment"> * Return the IP address (in numeric address string format) in</span>
-<a name="l00663"></a>00663 <span class="comment"> * an APR socket address.  APR will allocate storage for the IP address </span>
-<a name="l00664"></a>00664 <span class="comment"> * string from the pool of the apr_sockaddr_t.</span>
-<a name="l00665"></a>00665 <span class="comment"> * @param addr The IP address.</span>
-<a name="l00666"></a>00666 <span class="comment"> * @param sockaddr The socket address to reference.</span>
-<a name="l00667"></a>00667 <span class="comment"> */</span>
-<a name="l00668"></a>00668 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gb78fc9b9799c119f4a5517411458a660">apr_sockaddr_ip_get</a>(<span class="keywordtype">char</span> **addr, 
-<a name="l00669"></a>00669                                               <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sockaddr);
-<a name="l00670"></a>00670 <span class="comment"></span>
-<a name="l00671"></a>00671 <span class="comment">/**</span>
-<a name="l00672"></a>00672 <span class="comment"> * See if the IP addresses in two APR socket addresses are</span>
-<a name="l00673"></a>00673 <span class="comment"> * equivalent.  Appropriate logic is present for comparing</span>
-<a name="l00674"></a>00674 <span class="comment"> * IPv4-mapped IPv6 addresses with IPv4 addresses.</span>
-<a name="l00675"></a>00675 <span class="comment"> *</span>
-<a name="l00676"></a>00676 <span class="comment"> * @param addr1 One of the APR socket addresses.</span>
-<a name="l00677"></a>00677 <span class="comment"> * @param addr2 The other APR socket address.</span>
-<a name="l00678"></a>00678 <span class="comment"> * @remark The return value will be non-zero if the addresses</span>
-<a name="l00679"></a>00679 <span class="comment"> * are equivalent.</span>
-<a name="l00680"></a>00680 <span class="comment"> */</span>
-<a name="l00681"></a>00681 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">int</span>) <a class="code" href="group__apr__network__io.html#g1bf65369305ae352f3280af2acc684f5">apr_sockaddr_equal</a>(const <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr1,
-<a name="l00682"></a>00682                                     const <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr2);
-<a name="l00683"></a>00683 <span class="comment"></span>
-<a name="l00684"></a>00684 <span class="comment">/**</span>
-<a name="l00685"></a>00685 <span class="comment">* Return the type of the socket.</span>
-<a name="l00686"></a>00686 <span class="comment">* @param sock The socket to query.</span>
-<a name="l00687"></a>00687 <span class="comment">* @param type The returned type (e.g., SOCK_STREAM).</span>
-<a name="l00688"></a>00688 <span class="comment">*/</span>
-<a name="l00689"></a>00689 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g8d23ee2db9a84af2e6408ef460613514">apr_socket_type_get</a>(apr_socket_t *sock,
-<a name="l00690"></a>00690                                               <span class="keywordtype">int</span> *type);
-<a name="l00691"></a>00691  <span class="comment"></span>
-<a name="l00692"></a>00692 <span class="comment">/**</span>
-<a name="l00693"></a>00693 <span class="comment"> * Given an apr_sockaddr_t and a service name, set the port for the service</span>
-<a name="l00694"></a>00694 <span class="comment"> * @param sockaddr The apr_sockaddr_t that will have its port set</span>
-<a name="l00695"></a>00695 <span class="comment"> * @param servname The name of the service you wish to use</span>
-<a name="l00696"></a>00696 <span class="comment"> */</span>
-<a name="l00697"></a>00697 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gd5b504c0fe4d578e72531e3ca0263654">apr_getservbyname</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sockaddr, 
-<a name="l00698"></a>00698                                             const <span class="keywordtype">char</span> *servname);<span class="comment"></span>
-<a name="l00699"></a>00699 <span class="comment">/**</span>
-<a name="l00700"></a>00700 <span class="comment"> * Build an ip-subnet representation from an IP address and optional netmask or</span>
-<a name="l00701"></a>00701 <span class="comment"> * number-of-bits.</span>
-<a name="l00702"></a>00702 <span class="comment"> * @param ipsub The new ip-subnet representation</span>
-<a name="l00703"></a>00703 <span class="comment"> * @param ipstr The input IP address string</span>
-<a name="l00704"></a>00704 <span class="comment"> * @param mask_or_numbits The input netmask or number-of-bits string, or NULL</span>
-<a name="l00705"></a>00705 <span class="comment"> * @param p The pool to allocate from</span>
-<a name="l00706"></a>00706 <span class="comment"> */</span>
-<a name="l00707"></a>00707 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g34a3c7f1666427f4e381e857b9e9c298">apr_ipsubnet_create</a>(apr_ipsubnet_t **ipsub, 
-<a name="l00708"></a>00708                                               const <span class="keywordtype">char</span> *ipstr, 
-<a name="l00709"></a>00709                                               const <span class="keywordtype">char</span> *mask_or_numbits, 
-<a name="l00710"></a>00710                                               <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p);
-<a name="l00711"></a>00711 <span class="comment"></span>
-<a name="l00712"></a>00712 <span class="comment">/**</span>
-<a name="l00713"></a>00713 <span class="comment"> * Test the IP address in an apr_sockaddr_t against a pre-built ip-subnet</span>
-<a name="l00714"></a>00714 <span class="comment"> * representation.</span>
-<a name="l00715"></a>00715 <span class="comment"> * @param ipsub The ip-subnet representation</span>
-<a name="l00716"></a>00716 <span class="comment"> * @param sa The socket address to test</span>
-<a name="l00717"></a>00717 <span class="comment"> * @return non-zero if the socket address is within the subnet, 0 otherwise</span>
-<a name="l00718"></a>00718 <span class="comment"> */</span>
-<a name="l00719"></a>00719 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">int</span>) <a class="code" href="group__apr__network__io.html#gb74d21b8898b7c40bf7fd07ad3eb993d">apr_ipsubnet_test</a>(apr_ipsubnet_t *ipsub, <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sa);
-<a name="l00720"></a>00720 
-<a name="l00721"></a>00721 <span class="preprocessor">#if APR_HAS_SO_ACCEPTFILTER || defined(DOXYGEN)</span>
-<a name="l00722"></a>00722 <span class="preprocessor"></span><span class="comment">/**</span>
-<a name="l00723"></a>00723 <span class="comment"> * Set an OS level accept filter.</span>
-<a name="l00724"></a>00724 <span class="comment"> * @param sock The socket to put the accept filter on.</span>
-<a name="l00725"></a>00725 <span class="comment"> * @param name The accept filter</span>
-<a name="l00726"></a>00726 <span class="comment"> * @param args Any extra args to the accept filter.  Passing NULL here removes</span>
-<a name="l00727"></a>00727 <span class="comment"> *             the accept filter. </span>
-<a name="l00728"></a>00728 <span class="comment"> */</span>
-<a name="l00729"></a>00729 <a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> <a class="code" href="group__apr__network__io.html#g270b7c0835283fa2b85a05d295dd7ee5">apr_socket_accept_filter</a>(apr_socket_t *sock, <span class="keywordtype">char</span> *name,
-<a name="l00730"></a>00730                                       <span class="keywordtype">char</span> *args);
-<a name="l00731"></a>00731 <span class="preprocessor">#endif</span>
-<a name="l00732"></a>00732 <span class="preprocessor"></span><span class="comment"></span>
-<a name="l00733"></a>00733 <span class="comment">/**</span>
-<a name="l00734"></a>00734 <span class="comment"> * Return the protocol of the socket.</span>
-<a name="l00735"></a>00735 <span class="comment"> * @param sock The socket to query.</span>
-<a name="l00736"></a>00736 <span class="comment"> * @param protocol The returned protocol (e.g., APR_PROTO_TCP).</span>
-<a name="l00737"></a>00737 <span class="comment"> */</span>
-<a name="l00738"></a>00738 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gc402d9426de37b6cede18fa157020bd9">apr_socket_protocol_get</a>(apr_socket_t *sock,
-<a name="l00739"></a>00739                                                   <span class="keywordtype">int</span> *protocol);
-<a name="l00740"></a>00740 <span class="comment"></span>
-<a name="l00741"></a>00741 <span class="comment">/**</span>
-<a name="l00742"></a>00742 <span class="comment"> * Get the pool used by the socket.</span>
-<a name="l00743"></a>00743 <span class="comment"> */</span>
-<a name="l00744"></a>00744 <a class="code" href="group__apr__pools.html#g89ce1d55c7f0c39ea87c88eabd655394">APR_POOL_DECLARE_ACCESSOR</a>(socket);
-<a name="l00745"></a>00745 <span class="comment"></span>
-<a name="l00746"></a>00746 <span class="comment">/**</span>
-<a name="l00747"></a>00747 <span class="comment"> * Set a socket to be inherited by child processes.</span>
-<a name="l00748"></a>00748 <span class="comment"> */</span>
-<a name="l00749"></a>00749 <a class="code" href="apr__inherit_8h.html#a67d345784df8cce8114086e1f67cf3d">APR_DECLARE_INHERIT_SET</a>(socket);
-<a name="l00750"></a>00750 <span class="comment"></span>
-<a name="l00751"></a>00751 <span class="comment">/**</span>
-<a name="l00752"></a>00752 <span class="comment"> * Unset a socket from being inherited by child processes.</span>
-<a name="l00753"></a>00753 <span class="comment"> */</span>
-<a name="l00754"></a>00754 <a class="code" href="apr__inherit_8h.html#d4886be514d6cead6bd119a48984d4b5">APR_DECLARE_INHERIT_UNSET</a>(socket);
-<a name="l00755"></a>00755 <span class="comment"></span>
-<a name="l00756"></a>00756 <span class="comment">/**</span>
-<a name="l00757"></a>00757 <span class="comment"> * @defgroup apr_mcast IP Multicast</span>
-<a name="l00758"></a>00758 <span class="comment"> * @{</span>
-<a name="l00759"></a>00759 <span class="comment"> */</span>
-<a name="l00760"></a>00760 <span class="comment"></span>
-<a name="l00761"></a>00761 <span class="comment">/**</span>
-<a name="l00762"></a>00762 <span class="comment"> * Join a Multicast Group</span>
-<a name="l00763"></a>00763 <span class="comment"> * @param sock The socket to join a multicast group</span>
-<a name="l00764"></a>00764 <span class="comment"> * @param join The address of the multicast group to join</span>
-<a name="l00765"></a>00765 <span class="comment"> * @param iface Address of the interface to use.  If NULL is passed, the </span>
-<a name="l00766"></a>00766 <span class="comment"> *              default multicast interface will be used. (OS Dependent)</span>
-<a name="l00767"></a>00767 <span class="comment"> * @param source Source Address to accept transmissions from (non-NULL </span>
-<a name="l00768"></a>00768 <span class="comment"> *               implies Source-Specific Multicast)</span>
-<a name="l00769"></a>00769 <span class="comment"> */</span>
-<a name="l00770"></a>00770 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g731894962f9b20b2ee3ccd057053ef71">apr_mcast_join</a>(apr_socket_t *sock,
-<a name="l00771"></a>00771                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *join,
-<a name="l00772"></a>00772                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface,
-<a name="l00773"></a>00773                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *source);
-<a name="l00774"></a>00774 <span class="comment"></span>
-<a name="l00775"></a>00775 <span class="comment">/**</span>
-<a name="l00776"></a>00776 <span class="comment"> * Leave a Multicast Group.  All arguments must be the same as</span>
-<a name="l00777"></a>00777 <span class="comment"> * apr_mcast_join.</span>
-<a name="l00778"></a>00778 <span class="comment"> * @param sock The socket to leave a multicast group</span>
-<a name="l00779"></a>00779 <span class="comment"> * @param addr The address of the multicast group to leave</span>
-<a name="l00780"></a>00780 <span class="comment"> * @param iface Address of the interface to use.  If NULL is passed, the </span>
-<a name="l00781"></a>00781 <span class="comment"> *              default multicast interface will be used. (OS Dependent)</span>
-<a name="l00782"></a>00782 <span class="comment"> * @param source Source Address to accept transmissions from (non-NULL </span>
-<a name="l00783"></a>00783 <span class="comment"> *               implies Source-Specific Multicast)</span>
-<a name="l00784"></a>00784 <span class="comment"> */</span>
-<a name="l00785"></a>00785 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#gdd3d59b5f628786093277b962c863d13">apr_mcast_leave</a>(apr_socket_t *sock,
-<a name="l00786"></a>00786                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr,
-<a name="l00787"></a>00787                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface,
-<a name="l00788"></a>00788                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *source);
-<a name="l00789"></a>00789 <span class="comment"></span>
-<a name="l00790"></a>00790 <span class="comment">/**</span>
-<a name="l00791"></a>00791 <span class="comment"> * Set the Multicast Time to Live (ttl) for a multicast transmission.</span>
-<a name="l00792"></a>00792 <span class="comment"> * @param sock The socket to set the multicast ttl</span>
-<a name="l00793"></a>00793 <span class="comment"> * @param ttl Time to live to Assign. 0-255, default=1</span>
-<a name="l00794"></a>00794 <span class="comment"> * @remark If the TTL is 0, packets will only be seen by sockets on </span>
-<a name="l00795"></a>00795 <span class="comment"> * the local machine, and only when multicast loopback is enabled.</span>
-<a name="l00796"></a>00796 <span class="comment"> */</span>
-<a name="l00797"></a>00797 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g373041d43cb0fd05b2974b9fef0ae30f">apr_mcast_hops</a>(apr_socket_t *sock,
-<a name="l00798"></a>00798                                          apr_byte_t ttl);
-<a name="l00799"></a>00799 <span class="comment"></span>
-<a name="l00800"></a>00800 <span class="comment">/**</span>
-<a name="l00801"></a>00801 <span class="comment"> * Toggle IP Multicast Loopback</span>
-<a name="l00802"></a>00802 <span class="comment"> * @param sock The socket to set multicast loopback</span>
-<a name="l00803"></a>00803 <span class="comment"> * @param opt 0=disable, 1=enable</span>
-<a name="l00804"></a>00804 <span class="comment"> */</span>
-<a name="l00805"></a>00805 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g84bc14970499f79de8b71d77898f68ee">apr_mcast_loopback</a>(apr_socket_t *sock,
-<a name="l00806"></a>00806                                              apr_byte_t opt);
-<a name="l00807"></a>00807 
-<a name="l00808"></a>00808 <span class="comment"></span>
-<a name="l00809"></a>00809 <span class="comment">/**</span>
-<a name="l00810"></a>00810 <span class="comment"> * Set the Interface to be used for outgoing Multicast Transmissions.</span>
-<a name="l00811"></a>00811 <span class="comment"> * @param sock The socket to set the multicast interface on</span>
-<a name="l00812"></a>00812 <span class="comment"> * @param iface Address of the interface to use for Multicast</span>
-<a name="l00813"></a>00813 <span class="comment"> */</span>
-<a name="l00814"></a>00814 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g9949eb40d8bfb670f9bce997cebcdcae">apr_mcast_interface</a>(apr_socket_t *sock,
-<a name="l00815"></a>00815                                               <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface);
-<a name="l00816"></a>00816 <span class="comment"></span>
-<a name="l00817"></a>00817 <span class="comment">/** @} */</span>
-<a name="l00818"></a>00818 <span class="comment"></span>
-<a name="l00819"></a>00819 <span class="comment">/** @} */</span>
-<a name="l00820"></a>00820 
-<a name="l00821"></a>00821 <span class="preprocessor">#ifdef __cplusplus</span>
-<a name="l00822"></a>00822 <span class="preprocessor"></span>}
-<a name="l00823"></a>00823 <span class="preprocessor">#endif</span>
-<a name="l00824"></a>00824 <span class="preprocessor"></span>
-<a name="l00825"></a>00825 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_NETWORK_IO_H */</span>
-<a name="l00826"></a>00826 
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<a name="l00510"></a>00510 <span class="comment"> * Read data from a socket.  On success, the address of the peer from</span>
+<a name="l00511"></a>00511 <span class="comment"> * which the data was sent is copied into the @param from parameter,</span>
+<a name="l00512"></a>00512 <span class="comment"> * and the @param len parameter is updated to give the number of bytes</span>
+<a name="l00513"></a>00513 <span class="comment"> * written to @param buf.</span>
+<a name="l00514"></a>00514 <span class="comment"> * @param from Updated with the address from which the data was received</span>
+<a name="l00515"></a>00515 <span class="comment"> * @param sock The socket to use</span>
+<a name="l00516"></a>00516 <span class="comment"> * @param flags The flags to use</span>
+<a name="l00517"></a>00517 <span class="comment"> * @param buf  The buffer to use</span>
+<a name="l00518"></a>00518 <span class="comment"> * @param len  The length of the available buffer</span>
+<a name="l00519"></a>00519 <span class="comment"> */</span>
+<a name="l00520"></a>00520 
+<a name="l00521"></a>00521 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g80880312b41e86c9c266ede1a504e2ca">apr_socket_recvfrom</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *from, 
+<a name="l00522"></a>00522                                               apr_socket_t *sock,
+<a name="l00523"></a>00523                                               apr_int32_t flags, <span class="keywordtype">char</span> *buf, 
+<a name="l00524"></a>00524                                               apr_size_t *len);
+<a name="l00525"></a>00525  
+<a name="l00526"></a>00526 <span class="preprocessor">#if APR_HAS_SENDFILE || defined(DOXYGEN)</span>
+<a name="l00527"></a>00527 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00528"></a>00528 <span class="comment">/**</span>
+<a name="l00529"></a>00529 <span class="comment"> * Send a file from an open file descriptor to a socket, along with </span>
+<a name="l00530"></a>00530 <span class="comment"> * optional headers and trailers</span>
+<a name="l00531"></a>00531 <span class="comment"> * @param sock The socket to which we're writing</span>
+<a name="l00532"></a>00532 <span class="comment"> * @param file The open file from which to read</span>
+<a name="l00533"></a>00533 <span class="comment"> * @param hdtr A structure containing the headers and trailers to send</span>
+<a name="l00534"></a>00534 <span class="comment"> * @param offset Offset into the file where we should begin writing</span>
+<a name="l00535"></a>00535 <span class="comment"> * @param len (input)  - Number of bytes to send from the file </span>
+<a name="l00536"></a>00536 <span class="comment"> *            (output) - Number of bytes actually sent, </span>
+<a name="l00537"></a>00537 <span class="comment"> *                       including headers, file, and trailers</span>
+<a name="l00538"></a>00538 <span class="comment"> * @param flags APR flags that are mapped to OS specific flags</span>
+<a name="l00539"></a>00539 <span class="comment"> * @remark This functions acts like a blocking write by default.  To change </span>
+<a name="l00540"></a>00540 <span class="comment"> *         this behavior, use apr_socket_timeout_set() or the</span>
+<a name="l00541"></a>00541 <span class="comment"> *         APR_SO_NONBLOCK socket option.</span>
+<a name="l00542"></a>00542 <span class="comment"> * The number of bytes actually sent is stored in the len parameter.</span>
+<a name="l00543"></a>00543 <span class="comment"> * The offset parameter is passed by reference for no reason; its</span>
+<a name="l00544"></a>00544 <span class="comment"> * value will never be modified by the apr_socket_sendfile() function.</span>
+<a name="l00545"></a>00545 <span class="comment"> */</span>
+<a name="l00546"></a>00546 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g3d93e6212c4c27f2390b0057f8f4a8be">apr_socket_sendfile</a>(apr_socket_t *sock, 
+<a name="l00547"></a>00547                                               <a class="code" href="group__apr__file__io.html#ga46e4763ac375ea3c7a43ba6f6099e22">apr_file_t</a> *file,
+<a name="l00548"></a>00548                                               <a class="code" href="group__apr__network__io.html#g97887d5358a9c79c241ccafab61d8ff5">apr_hdtr_t</a> *hdtr,
+<a name="l00549"></a>00549                                               apr_off_t *offset,
+<a name="l00550"></a>00550                                               apr_size_t *len,
+<a name="l00551"></a>00551                                               apr_int32_t flags);
+<a name="l00552"></a>00552 
+<a name="l00553"></a>00553 <span class="preprocessor">#endif </span><span class="comment">/* APR_HAS_SENDFILE */</span>
+<a name="l00554"></a>00554 <span class="comment"></span>
+<a name="l00555"></a>00555 <span class="comment">/**</span>
+<a name="l00556"></a>00556 <span class="comment"> * Read data from a network.</span>
+<a name="l00557"></a>00557 <span class="comment"> * @param sock The socket to read the data from.</span>
+<a name="l00558"></a>00558 <span class="comment"> * @param buf The buffer to store the data in. </span>
+<a name="l00559"></a>00559 <span class="comment"> * @param len On entry, the number of bytes to receive; on exit, the number</span>
+<a name="l00560"></a>00560 <span class="comment"> *            of bytes received.</span>
+<a name="l00561"></a>00561 <span class="comment"> * @remark</span>
+<a name="l00562"></a>00562 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00563"></a>00563 <span class="comment"> * This functions acts like a blocking read by default.  To change </span>
+<a name="l00564"></a>00564 <span class="comment"> * this behavior, use apr_socket_timeout_set() or the APR_SO_NONBLOCK</span>
+<a name="l00565"></a>00565 <span class="comment"> * socket option.</span>
+<a name="l00566"></a>00566 <span class="comment"> * The number of bytes actually received is stored in argument 3.</span>
+<a name="l00567"></a>00567 <span class="comment"> *</span>
+<a name="l00568"></a>00568 <span class="comment"> * It is possible for both bytes to be received and an APR_EOF or</span>
+<a name="l00569"></a>00569 <span class="comment"> * other error to be returned.</span>
+<a name="l00570"></a>00570 <span class="comment"> *</span>
+<a name="l00571"></a>00571 <span class="comment"> * APR_EINTR is never returned.</span>
+<a name="l00572"></a>00572 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00573"></a>00573 <span class="comment"> */</span>
+<a name="l00574"></a>00574 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#ga6ee00191f197f64b5a5409f4aff53d1">apr_socket_recv</a>(apr_socket_t *sock, 
+<a name="l00575"></a>00575                                    <span class="keywordtype">char</span> *buf, apr_size_t *len);
+<a name="l00576"></a>00576 <span class="comment"></span>
+<a name="l00577"></a>00577 <span class="comment">/**</span>
+<a name="l00578"></a>00578 <span class="comment"> * Setup socket options for the specified socket</span>
+<a name="l00579"></a>00579 <span class="comment"> * @param sock The socket to set up.</span>
+<a name="l00580"></a>00580 <span class="comment"> * @param opt The option we would like to configure.  One of:</span>
+<a name="l00581"></a>00581 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00582"></a>00582 <span class="comment"> *            APR_SO_DEBUG      --  turn on debugging information </span>
+<a name="l00583"></a>00583 <span class="comment"> *            APR_SO_KEEPALIVE  --  keep connections active</span>
+<a name="l00584"></a>00584 <span class="comment"> *            APR_SO_LINGER     --  lingers on close if data is present</span>
+<a name="l00585"></a>00585 <span class="comment"> *            APR_SO_NONBLOCK   --  Turns blocking on/off for socket</span>
+<a name="l00586"></a>00586 <span class="comment"> *                                  When this option is enabled, use</span>
+<a name="l00587"></a>00587 <span class="comment"> *                                  the APR_STATUS_IS_EAGAIN() macro to</span>
+<a name="l00588"></a>00588 <span class="comment"> *                                  see if a send or receive function</span>
+<a name="l00589"></a>00589 <span class="comment"> *                                  could not transfer data without</span>
+<a name="l00590"></a>00590 <span class="comment"> *                                  blocking.</span>
+<a name="l00591"></a>00591 <span class="comment"> *            APR_SO_REUSEADDR  --  The rules used in validating addresses</span>
+<a name="l00592"></a>00592 <span class="comment"> *                                  supplied to bind should allow reuse</span>
+<a name="l00593"></a>00593 <span class="comment"> *                                  of local addresses.</span>
+<a name="l00594"></a>00594 <span class="comment"> *            APR_SO_SNDBUF     --  Set the SendBufferSize</span>
+<a name="l00595"></a>00595 <span class="comment"> *            APR_SO_RCVBUF     --  Set the ReceiveBufferSize</span>
+<a name="l00596"></a>00596 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00597"></a>00597 <span class="comment"> * @param on Value for the option.</span>
+<a name="l00598"></a>00598 <span class="comment"> */</span>
+<a name="l00599"></a>00599 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g08f5e505fa611005f56c12783269ffa9">apr_socket_opt_set</a>(apr_socket_t *sock,
+<a name="l00600"></a>00600                                              apr_int32_t opt, apr_int32_t on);
+<a name="l00601"></a>00601 <span class="comment"></span>
+<a name="l00602"></a>00602 <span class="comment">/**</span>
+<a name="l00603"></a>00603 <span class="comment"> * Setup socket timeout for the specified socket</span>
+<a name="l00604"></a>00604 <span class="comment"> * @param sock The socket to set up.</span>
+<a name="l00605"></a>00605 <span class="comment"> * @param t Value for the timeout.</span>
+<a name="l00606"></a>00606 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00607"></a>00607 <span class="comment"> *   t &gt; 0  -- read and write calls return APR_TIMEUP if specified time</span>
+<a name="l00608"></a>00608 <span class="comment"> *             elapsess with no data read or written</span>
+<a name="l00609"></a>00609 <span class="comment"> *   t == 0 -- read and write calls never block</span>
+<a name="l00610"></a>00610 <span class="comment"> *   t &lt; 0  -- read and write calls block</span>
+<a name="l00611"></a>00611 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00612"></a>00612 <span class="comment"> */</span>
+<a name="l00613"></a>00613 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g945bdbe807ec5635d65a6fd9ddb78c29">apr_socket_timeout_set</a>(apr_socket_t *sock,
+<a name="l00614"></a>00614                                                  <a class="code" href="group__apr__time.html#gae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> t);
+<a name="l00615"></a>00615 <span class="comment"></span>
+<a name="l00616"></a>00616 <span class="comment">/**</span>
+<a name="l00617"></a>00617 <span class="comment"> * Query socket options for the specified socket</span>
+<a name="l00618"></a>00618 <span class="comment"> * @param sock The socket to query</span>
+<a name="l00619"></a>00619 <span class="comment"> * @param opt The option we would like to query.  One of:</span>
+<a name="l00620"></a>00620 <span class="comment"> * &lt;PRE&gt;</span>
+<a name="l00621"></a>00621 <span class="comment"> *            APR_SO_DEBUG      --  turn on debugging information </span>
+<a name="l00622"></a>00622 <span class="comment"> *            APR_SO_KEEPALIVE  --  keep connections active</span>
+<a name="l00623"></a>00623 <span class="comment"> *            APR_SO_LINGER     --  lingers on close if data is present</span>
+<a name="l00624"></a>00624 <span class="comment"> *            APR_SO_NONBLOCK   --  Turns blocking on/off for socket</span>
+<a name="l00625"></a>00625 <span class="comment"> *            APR_SO_REUSEADDR  --  The rules used in validating addresses</span>
+<a name="l00626"></a>00626 <span class="comment"> *                                  supplied to bind should allow reuse</span>
+<a name="l00627"></a>00627 <span class="comment"> *                                  of local addresses.</span>
+<a name="l00628"></a>00628 <span class="comment"> *            APR_SO_SNDBUF     --  Set the SendBufferSize</span>
+<a name="l00629"></a>00629 <span class="comment"> *            APR_SO_RCVBUF     --  Set the ReceiveBufferSize</span>
+<a name="l00630"></a>00630 <span class="comment"> *            APR_SO_DISCONNECTED -- Query the disconnected state of the socket.</span>
+<a name="l00631"></a>00631 <span class="comment"> *                                  (Currently only used on Windows)</span>
+<a name="l00632"></a>00632 <span class="comment"> * &lt;/PRE&gt;</span>
+<a name="l00633"></a>00633 <span class="comment"> * @param on Socket option returned on the call.</span>
+<a name="l00634"></a>00634 <span class="comment"> */</span>
+<a name="l00635"></a>00635 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g1934c2d5943efc8ce925f376f3c2e17e">apr_socket_opt_get</a>(apr_socket_t *sock, 
+<a name="l00636"></a>00636                                              apr_int32_t opt, apr_int32_t *on);
+<a name="l00637"></a>00637 <span class="comment"></span>
+<a name="l00638"></a>00638 <span class="comment">/**</span>
+<a name="l00639"></a>00639 <span class="comment"> * Query socket timeout for the specified socket</span>
+<a name="l00640"></a>00640 <span class="comment"> * @param sock The socket to query</span>
+<a name="l00641"></a>00641 <span class="comment"> * @param t Socket timeout returned from the query.</span>
+<a name="l00642"></a>00642 <span class="comment"> */</span>
+<a name="l00643"></a>00643 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#ga32313b54afed590367c8571075d2bc1">apr_socket_timeout_get</a>(apr_socket_t *sock, 
+<a name="l00644"></a>00644                                                  <a class="code" href="group__apr__time.html#gae2129185a395cc393f76fabf4f43e47">apr_interval_time_t</a> *t);
+<a name="l00645"></a>00645 <span class="comment"></span>
+<a name="l00646"></a>00646 <span class="comment">/**</span>
+<a name="l00647"></a>00647 <span class="comment"> * Query the specified socket if at the OOB/Urgent data mark</span>
+<a name="l00648"></a>00648 <span class="comment"> * @param sock The socket to query</span>
+<a name="l00649"></a>00649 <span class="comment"> * @param atmark Is set to true if socket is at the OOB/urgent mark,</span>
+<a name="l00650"></a>00650 <span class="comment"> *               otherwise is set to false.</span>
+<a name="l00651"></a>00651 <span class="comment"> */</span>
+<a name="l00652"></a>00652 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g2389de257444870974b5ded91cf7a10c">apr_socket_atmark</a>(apr_socket_t *sock, 
+<a name="l00653"></a>00653                                             <span class="keywordtype">int</span> *atmark);
+<a name="l00654"></a>00654 <span class="comment"></span>
+<a name="l00655"></a>00655 <span class="comment">/**</span>
+<a name="l00656"></a>00656 <span class="comment"> * Return an apr_sockaddr_t from an apr_socket_t</span>
+<a name="l00657"></a>00657 <span class="comment"> * @param sa The returned apr_sockaddr_t.</span>
+<a name="l00658"></a>00658 <span class="comment"> * @param which Which interface do we want the apr_sockaddr_t for?</span>
+<a name="l00659"></a>00659 <span class="comment"> * @param sock The socket to use</span>
+<a name="l00660"></a>00660 <span class="comment"> */</span>
+<a name="l00661"></a>00661 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gcad56b59eafc6ad2459bf6493c992515">apr_socket_addr_get</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> **sa,
+<a name="l00662"></a>00662                                               apr_interface_e which,
+<a name="l00663"></a>00663                                               apr_socket_t *sock);
+<a name="l00664"></a>00664  <span class="comment"></span>
+<a name="l00665"></a>00665 <span class="comment">/**</span>
+<a name="l00666"></a>00666 <span class="comment"> * Return the IP address (in numeric address string format) in</span>
+<a name="l00667"></a>00667 <span class="comment"> * an APR socket address.  APR will allocate storage for the IP address </span>
+<a name="l00668"></a>00668 <span class="comment"> * string from the pool of the apr_sockaddr_t.</span>
+<a name="l00669"></a>00669 <span class="comment"> * @param addr The IP address.</span>
+<a name="l00670"></a>00670 <span class="comment"> * @param sockaddr The socket address to reference.</span>
+<a name="l00671"></a>00671 <span class="comment"> */</span>
+<a name="l00672"></a>00672 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gb78fc9b9799c119f4a5517411458a660">apr_sockaddr_ip_get</a>(<span class="keywordtype">char</span> **addr, 
+<a name="l00673"></a>00673                                               <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sockaddr);
+<a name="l00674"></a>00674 <span class="comment"></span>
+<a name="l00675"></a>00675 <span class="comment">/**</span>
+<a name="l00676"></a>00676 <span class="comment"> * See if the IP addresses in two APR socket addresses are</span>
+<a name="l00677"></a>00677 <span class="comment"> * equivalent.  Appropriate logic is present for comparing</span>
+<a name="l00678"></a>00678 <span class="comment"> * IPv4-mapped IPv6 addresses with IPv4 addresses.</span>
+<a name="l00679"></a>00679 <span class="comment"> *</span>
+<a name="l00680"></a>00680 <span class="comment"> * @param addr1 One of the APR socket addresses.</span>
+<a name="l00681"></a>00681 <span class="comment"> * @param addr2 The other APR socket address.</span>
+<a name="l00682"></a>00682 <span class="comment"> * @remark The return value will be non-zero if the addresses</span>
+<a name="l00683"></a>00683 <span class="comment"> * are equivalent.</span>
+<a name="l00684"></a>00684 <span class="comment"> */</span>
+<a name="l00685"></a>00685 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">int</span>) <a class="code" href="group__apr__network__io.html#g1bf65369305ae352f3280af2acc684f5">apr_sockaddr_equal</a>(const <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr1,
+<a name="l00686"></a>00686                                     const <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr2);
+<a name="l00687"></a>00687 <span class="comment"></span>
+<a name="l00688"></a>00688 <span class="comment">/**</span>
+<a name="l00689"></a>00689 <span class="comment">* Return the type of the socket.</span>
+<a name="l00690"></a>00690 <span class="comment">* @param sock The socket to query.</span>
+<a name="l00691"></a>00691 <span class="comment">* @param type The returned type (e.g., SOCK_STREAM).</span>
+<a name="l00692"></a>00692 <span class="comment">*/</span>
+<a name="l00693"></a>00693 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g8d23ee2db9a84af2e6408ef460613514">apr_socket_type_get</a>(apr_socket_t *sock,
+<a name="l00694"></a>00694                                               <span class="keywordtype">int</span> *type);
+<a name="l00695"></a>00695  <span class="comment"></span>
+<a name="l00696"></a>00696 <span class="comment">/**</span>
+<a name="l00697"></a>00697 <span class="comment"> * Given an apr_sockaddr_t and a service name, set the port for the service</span>
+<a name="l00698"></a>00698 <span class="comment"> * @param sockaddr The apr_sockaddr_t that will have its port set</span>
+<a name="l00699"></a>00699 <span class="comment"> * @param servname The name of the service you wish to use</span>
+<a name="l00700"></a>00700 <span class="comment"> */</span>
+<a name="l00701"></a>00701 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gd5b504c0fe4d578e72531e3ca0263654">apr_getservbyname</a>(<a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sockaddr, 
+<a name="l00702"></a>00702                                             const <span class="keywordtype">char</span> *servname);<span class="comment"></span>
+<a name="l00703"></a>00703 <span class="comment">/**</span>
+<a name="l00704"></a>00704 <span class="comment"> * Build an ip-subnet representation from an IP address and optional netmask or</span>
+<a name="l00705"></a>00705 <span class="comment"> * number-of-bits.</span>
+<a name="l00706"></a>00706 <span class="comment"> * @param ipsub The new ip-subnet representation</span>
+<a name="l00707"></a>00707 <span class="comment"> * @param ipstr The input IP address string</span>
+<a name="l00708"></a>00708 <span class="comment"> * @param mask_or_numbits The input netmask or number-of-bits string, or NULL</span>
+<a name="l00709"></a>00709 <span class="comment"> * @param p The pool to allocate from</span>
+<a name="l00710"></a>00710 <span class="comment"> */</span>
+<a name="l00711"></a>00711 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#g34a3c7f1666427f4e381e857b9e9c298">apr_ipsubnet_create</a>(apr_ipsubnet_t **ipsub, 
+<a name="l00712"></a>00712                                               const <span class="keywordtype">char</span> *ipstr, 
+<a name="l00713"></a>00713                                               const <span class="keywordtype">char</span> *mask_or_numbits, 
+<a name="l00714"></a>00714                                               <a class="code" href="group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p);
+<a name="l00715"></a>00715 <span class="comment"></span>
+<a name="l00716"></a>00716 <span class="comment">/**</span>
+<a name="l00717"></a>00717 <span class="comment"> * Test the IP address in an apr_sockaddr_t against a pre-built ip-subnet</span>
+<a name="l00718"></a>00718 <span class="comment"> * representation.</span>
+<a name="l00719"></a>00719 <span class="comment"> * @param ipsub The ip-subnet representation</span>
+<a name="l00720"></a>00720 <span class="comment"> * @param sa The socket address to test</span>
+<a name="l00721"></a>00721 <span class="comment"> * @return non-zero if the socket address is within the subnet, 0 otherwise</span>
+<a name="l00722"></a>00722 <span class="comment"> */</span>
+<a name="l00723"></a>00723 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">int</span>) <a class="code" href="group__apr__network__io.html#gb74d21b8898b7c40bf7fd07ad3eb993d">apr_ipsubnet_test</a>(apr_ipsubnet_t *ipsub, <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *sa);
+<a name="l00724"></a>00724 
+<a name="l00725"></a>00725 <span class="preprocessor">#if APR_HAS_SO_ACCEPTFILTER || defined(DOXYGEN)</span>
+<a name="l00726"></a>00726 <span class="preprocessor"></span><span class="comment">/**</span>
+<a name="l00727"></a>00727 <span class="comment"> * Set an OS level accept filter.</span>
+<a name="l00728"></a>00728 <span class="comment"> * @param sock The socket to put the accept filter on.</span>
+<a name="l00729"></a>00729 <span class="comment"> * @param name The accept filter</span>
+<a name="l00730"></a>00730 <span class="comment"> * @param args Any extra args to the accept filter.  Passing NULL here removes</span>
+<a name="l00731"></a>00731 <span class="comment"> *             the accept filter. </span>
+<a name="l00732"></a>00732 <span class="comment"> */</span>
+<a name="l00733"></a>00733 <a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> <a class="code" href="group__apr__network__io.html#g270b7c0835283fa2b85a05d295dd7ee5">apr_socket_accept_filter</a>(apr_socket_t *sock, <span class="keywordtype">char</span> *name,
+<a name="l00734"></a>00734                                       <span class="keywordtype">char</span> *args);
+<a name="l00735"></a>00735 <span class="preprocessor">#endif</span>
+<a name="l00736"></a>00736 <span class="preprocessor"></span><span class="comment"></span>
+<a name="l00737"></a>00737 <span class="comment">/**</span>
+<a name="l00738"></a>00738 <span class="comment"> * Return the protocol of the socket.</span>
+<a name="l00739"></a>00739 <span class="comment"> * @param sock The socket to query.</span>
+<a name="l00740"></a>00740 <span class="comment"> * @param protocol The returned protocol (e.g., APR_PROTO_TCP).</span>
+<a name="l00741"></a>00741 <span class="comment"> */</span>
+<a name="l00742"></a>00742 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__network__io.html#gc402d9426de37b6cede18fa157020bd9">apr_socket_protocol_get</a>(apr_socket_t *sock,
+<a name="l00743"></a>00743                                                   <span class="keywordtype">int</span> *protocol);
+<a name="l00744"></a>00744 <span class="comment"></span>
+<a name="l00745"></a>00745 <span class="comment">/**</span>
+<a name="l00746"></a>00746 <span class="comment"> * Get the pool used by the socket.</span>
+<a name="l00747"></a>00747 <span class="comment"> */</span>
+<a name="l00748"></a>00748 <a class="code" href="group__apr__pools.html#g89ce1d55c7f0c39ea87c88eabd655394">APR_POOL_DECLARE_ACCESSOR</a>(socket);
+<a name="l00749"></a>00749 <span class="comment"></span>
+<a name="l00750"></a>00750 <span class="comment">/**</span>
+<a name="l00751"></a>00751 <span class="comment"> * Set a socket to be inherited by child processes.</span>
+<a name="l00752"></a>00752 <span class="comment"> */</span>
+<a name="l00753"></a>00753 <a class="code" href="apr__inherit_8h.html#a67d345784df8cce8114086e1f67cf3d">APR_DECLARE_INHERIT_SET</a>(socket);
+<a name="l00754"></a>00754 <span class="comment"></span>
+<a name="l00755"></a>00755 <span class="comment">/**</span>
+<a name="l00756"></a>00756 <span class="comment"> * Unset a socket from being inherited by child processes.</span>
+<a name="l00757"></a>00757 <span class="comment"> */</span>
+<a name="l00758"></a>00758 <a class="code" href="apr__inherit_8h.html#d4886be514d6cead6bd119a48984d4b5">APR_DECLARE_INHERIT_UNSET</a>(socket);
+<a name="l00759"></a>00759 <span class="comment"></span>
+<a name="l00760"></a>00760 <span class="comment">/**</span>
+<a name="l00761"></a>00761 <span class="comment"> * @defgroup apr_mcast IP Multicast</span>
+<a name="l00762"></a>00762 <span class="comment"> * @{</span>
+<a name="l00763"></a>00763 <span class="comment"> */</span>
+<a name="l00764"></a>00764 <span class="comment"></span>
+<a name="l00765"></a>00765 <span class="comment">/**</span>
+<a name="l00766"></a>00766 <span class="comment"> * Join a Multicast Group</span>
+<a name="l00767"></a>00767 <span class="comment"> * @param sock The socket to join a multicast group</span>
+<a name="l00768"></a>00768 <span class="comment"> * @param join The address of the multicast group to join</span>
+<a name="l00769"></a>00769 <span class="comment"> * @param iface Address of the interface to use.  If NULL is passed, the </span>
+<a name="l00770"></a>00770 <span class="comment"> *              default multicast interface will be used. (OS Dependent)</span>
+<a name="l00771"></a>00771 <span class="comment"> * @param source Source Address to accept transmissions from (non-NULL </span>
+<a name="l00772"></a>00772 <span class="comment"> *               implies Source-Specific Multicast)</span>
+<a name="l00773"></a>00773 <span class="comment"> */</span>
+<a name="l00774"></a>00774 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g731894962f9b20b2ee3ccd057053ef71">apr_mcast_join</a>(apr_socket_t *sock,
+<a name="l00775"></a>00775                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *join,
+<a name="l00776"></a>00776                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface,
+<a name="l00777"></a>00777                                          <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *source);
+<a name="l00778"></a>00778 <span class="comment"></span>
+<a name="l00779"></a>00779 <span class="comment">/**</span>
+<a name="l00780"></a>00780 <span class="comment"> * Leave a Multicast Group.  All arguments must be the same as</span>
+<a name="l00781"></a>00781 <span class="comment"> * apr_mcast_join.</span>
+<a name="l00782"></a>00782 <span class="comment"> * @param sock The socket to leave a multicast group</span>
+<a name="l00783"></a>00783 <span class="comment"> * @param addr The address of the multicast group to leave</span>
+<a name="l00784"></a>00784 <span class="comment"> * @param iface Address of the interface to use.  If NULL is passed, the </span>
+<a name="l00785"></a>00785 <span class="comment"> *              default multicast interface will be used. (OS Dependent)</span>
+<a name="l00786"></a>00786 <span class="comment"> * @param source Source Address to accept transmissions from (non-NULL </span>
+<a name="l00787"></a>00787 <span class="comment"> *               implies Source-Specific Multicast)</span>
+<a name="l00788"></a>00788 <span class="comment"> */</span>
+<a name="l00789"></a>00789 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#gdd3d59b5f628786093277b962c863d13">apr_mcast_leave</a>(apr_socket_t *sock,
+<a name="l00790"></a>00790                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *addr,
+<a name="l00791"></a>00791                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface,
+<a name="l00792"></a>00792                                           <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *source);
+<a name="l00793"></a>00793 <span class="comment"></span>
+<a name="l00794"></a>00794 <span class="comment">/**</span>
+<a name="l00795"></a>00795 <span class="comment"> * Set the Multicast Time to Live (ttl) for a multicast transmission.</span>
+<a name="l00796"></a>00796 <span class="comment"> * @param sock The socket to set the multicast ttl</span>
+<a name="l00797"></a>00797 <span class="comment"> * @param ttl Time to live to Assign. 0-255, default=1</span>
+<a name="l00798"></a>00798 <span class="comment"> * @remark If the TTL is 0, packets will only be seen by sockets on </span>
+<a name="l00799"></a>00799 <span class="comment"> * the local machine, and only when multicast loopback is enabled.</span>
+<a name="l00800"></a>00800 <span class="comment"> */</span>
+<a name="l00801"></a>00801 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g373041d43cb0fd05b2974b9fef0ae30f">apr_mcast_hops</a>(apr_socket_t *sock,
+<a name="l00802"></a>00802                                          apr_byte_t ttl);
+<a name="l00803"></a>00803 <span class="comment"></span>
+<a name="l00804"></a>00804 <span class="comment">/**</span>
+<a name="l00805"></a>00805 <span class="comment"> * Toggle IP Multicast Loopback</span>
+<a name="l00806"></a>00806 <span class="comment"> * @param sock The socket to set multicast loopback</span>
+<a name="l00807"></a>00807 <span class="comment"> * @param opt 0=disable, 1=enable</span>
+<a name="l00808"></a>00808 <span class="comment"> */</span>
+<a name="l00809"></a>00809 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g84bc14970499f79de8b71d77898f68ee">apr_mcast_loopback</a>(apr_socket_t *sock,
+<a name="l00810"></a>00810                                              apr_byte_t opt);
+<a name="l00811"></a>00811 
+<a name="l00812"></a>00812 <span class="comment"></span>
+<a name="l00813"></a>00813 <span class="comment">/**</span>
+<a name="l00814"></a>00814 <span class="comment"> * Set the Interface to be used for outgoing Multicast Transmissions.</span>
+<a name="l00815"></a>00815 <span class="comment"> * @param sock The socket to set the multicast interface on</span>
+<a name="l00816"></a>00816 <span class="comment"> * @param iface Address of the interface to use for Multicast</span>
+<a name="l00817"></a>00817 <span class="comment"> */</span>
+<a name="l00818"></a>00818 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<a class="code" href="group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="group__apr__mcast.html#g9949eb40d8bfb670f9bce997cebcdcae">apr_mcast_interface</a>(apr_socket_t *sock,
+<a name="l00819"></a>00819                                               <a class="code" href="group__apr__network__io.html#g373fb6f32d0875c5deb648b779c8a709">apr_sockaddr_t</a> *iface);
+<a name="l00820"></a>00820 <span class="comment"></span>
+<a name="l00821"></a>00821 <span class="comment">/** @} */</span>
+<a name="l00822"></a>00822 <span class="comment"></span>
+<a name="l00823"></a>00823 <span class="comment">/** @} */</span>
+<a name="l00824"></a>00824 
+<a name="l00825"></a>00825 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00826"></a>00826 <span class="preprocessor"></span>}
+<a name="l00827"></a>00827 <span class="preprocessor">#endif</span>
+<a name="l00828"></a>00828 <span class="preprocessor"></span>
+<a name="l00829"></a>00829 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_NETWORK_IO_H */</span>
+<a name="l00830"></a>00830 
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__network__io_8h.html Sun Nov 25 17:05:47 2007
@@ -207,7 +207,7 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Network library. 
 <p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h-source.html Sun Nov 25 17:05:47 2007
@@ -217,7 +217,7 @@
 <a name="l00194"></a>00194 <span class="preprocessor"></span>
 <a name="l00195"></a>00195 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_POLL_H */</span>
 <a name="l00196"></a>00196 
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__poll_8h.html Sun Nov 25 17:05:47 2007
@@ -83,7 +83,7 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Poll interface. 
 <p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h-source.html Sun Nov 25 17:05:47 2007
@@ -691,7 +691,7 @@
 <a name="l00668"></a>00668 <span class="preprocessor">#endif</span>
 <a name="l00669"></a>00669 <span class="preprocessor"></span>
 <a name="l00670"></a>00670 <span class="preprocessor">#endif </span><span class="comment">/* !APR_POOLS_H */</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__pools_8h.html Sun Nov 25 17:05:47 2007
@@ -135,7 +135,7 @@
 for no good reason? 
 </div>
 </div><p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h-source.html Sun Nov 25 17:05:47 2007
@@ -527,7 +527,7 @@
 <a name="l00504"></a>00504 <span class="preprocessor">#endif</span>
 <a name="l00505"></a>00505 <span class="preprocessor"></span>
 <a name="l00506"></a>00506 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_PORTABLE_H */</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__portable_8h.html Sun Nov 25 17:05:47 2007
@@ -139,7 +139,7 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Portability Routines. 
 <p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h-source.html Sun Nov 25 17:05:47 2007
@@ -187,7 +187,7 @@
 <a name="l00164"></a>00164 <span class="preprocessor">#endif</span>
 <a name="l00165"></a>00165 <span class="preprocessor"></span>
 <a name="l00166"></a>00166 <span class="preprocessor">#endif  </span><span class="comment">/* ! APR_PROC_MUTEX_H */</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__proc__mutex_8h.html Sun Nov 25 17:05:47 2007
@@ -72,7 +72,7 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Process Locking Routines. 
 <p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__random_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__random_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__random_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__random_8h-source.html Sun Nov 25 17:05:47 2007
@@ -95,7 +95,7 @@
 <a name="l00072"></a>00072 <a class="code" href="group__apr__platform.html#gd7b91b811a172bfa802603c2fb688f98">APR_DECLARE</a>(<span class="keywordtype">void</span>) apr_random_after_fork(struct apr_proc_t *proc);
 <a name="l00073"></a>00073 
 <a name="l00074"></a>00074 <span class="preprocessor">#endif </span><span class="comment">/* ndef APR_RANDOM_H */</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h-source.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h-source.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h-source.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h-source.html Sun Nov 25 17:05:47 2007
@@ -510,7 +510,7 @@
 <a name="l00487"></a>00487 <span class="comment">/** @} */</span> 
 <a name="l00488"></a>00488 
 <a name="l00489"></a>00489 <span class="preprocessor">#endif </span><span class="comment">/* !APR_RING_H */</span>
-</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>

Modified: apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h.html?rev=598101&r1=598100&r2=598101&view=diff
==============================================================================
--- apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h.html (original)
+++ apr/site/trunk/docs/docs/apr/1.2/apr__ring_8h.html Sun Nov 25 17:05:47 2007
@@ -87,7 +87,7 @@
 <hr><a name="_details"></a><h2>Detailed Description</h2>
 APR Rings. 
 <p>
-<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 11 08:14:29 2007 for Apache Portable Runtime by&nbsp;
+<hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 26 11:23:52 2007 for Apache Portable Runtime by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
 </body>



Mime
View raw message