Damir Dezeljin <[EMAIL PROTECTED]> writes:

> It look like that this function is used to initialize and construct
> apr_sockaddr_t variable. So I use:
> ---
>   apr_sockaddr_t *sa=NULL;
>   ...
>   apr_sockaddr_info_get(
>     &sa,
>     APR_ANYADDR,
>     APR_INET,
>     20000,
>     APR_IPV4_ADDR_OK,
>     my_pool
>   );
>   ...
>   apr_bind(apr_sock, sa);
> ---
> 
> But this doesn't work. After this function call sa on Linux platform
> always points to NULL, on Windows it points where it was pointing prior
> function call. I'm using a CVS snapshoot of the APR library.

In other words, apr_sockaddr_info_get() failed (which probably means
your resolver failed).  What is the return code from
apr_sockaddr_info_get()?

What version of Linux is this, by the way?

-- 
Jeff Trawick | [EMAIL PROTECTED]
Born in Roswell... married an alien...

Reply via email to