apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: inet_addr() ?
Date Mon, 14 Nov 2005 17:44:24 GMT
On 11/14/05, Gerry <gerry@everythingsucks.co.uk> wrote:
> Guys,
> Doing an apache2 module for Set Top Box socket proxying over HTTP.
> I'm trying to stick to APR calls instead of posix calls, but there doesn't
> appear to be an equivelant of inet_addr().

If your app needs to have detailed IP info (and possibly impose
restrictions), then it can look in the union sa in the apr_sockaddr_t
returned by apr_sockaddr_info_get().

View raw message