diff options
author | Joe Orton <jorton@apache.org> | 2006-11-29 09:40:05 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2006-11-29 09:40:05 +0000 |
commit | c6458de58850a1316ff8ef1205886a3f22e792e1 (patch) | |
tree | 54b68e25a3df024dde68c6c232f3493e0e097c75 /include/apr_network_io.h | |
parent | 11228c897da35fa25e41e80eac7f78f007097c73 (diff) | |
download | apr-c6458de58850a1316ff8ef1205886a3f22e792e1.tar.gz |
* include/apr_network_io.h: Avoid inappropriate use of the word
"interface".
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@480497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_network_io.h')
-rw-r--r-- | include/apr_network_io.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/apr_network_io.h b/include/apr_network_io.h index 011ae048d..3ca87b326 100644 --- a/include/apr_network_io.h +++ b/include/apr_network_io.h @@ -164,7 +164,8 @@ struct in_addr { /** @} */ /** - * Enum to tell us if we're interested in remote or local socket + * Enum used to denote either the local and remote endpoint of a + * connection. */ typedef enum { APR_LOCAL, @@ -653,9 +654,11 @@ APR_DECLARE(apr_status_t) apr_socket_atmark(apr_socket_t *sock, int *atmark); /** - * Return an apr_sockaddr_t from an apr_socket_t + * Return an address associated with a socket; either the address to + * which the socket is bound locally or the the address of the peer + * to which the socket is connected. * @param sa The returned apr_sockaddr_t. - * @param which Which interface do we want the apr_sockaddr_t for? + * @param which Whether to retrieve the local or remote address * @param sock The socket to use */ APR_DECLARE(apr_status_t) apr_socket_addr_get(apr_sockaddr_t **sa, |