2010/2/3 Martin Sustrik <[email protected]>

> Steven,
>
> > You can provide an address family to the pgm_if_get_transport_info call
> > via the ti_family field of the pgm_transport_info_t parameter.
>
> Tried to make it work this way:
>
>    struct pgm_transport_info_t *res = NULL;
>    struct pgm_transport_info_t hint;
>    memset (&hint, 0, sizeof (hint));
>    hint.ti_family = AF_INET;
>    if (!pgm_if_get_transport_info (network, &hint, &res, &pgm_error))...
>
>
> pgm_if_get_transport_info succeeds but the address seems resolve to
> 0.0.0.0:
>
> Any hints?
>

The unit tests run through AF_UNSPEC, AF_INET, and AF_INET6 all with no
problems resolving addresses correctly on Ubuntu 8.04.3, I'm seeing a
getaddrinfo error on Ubuntu 9.10 so will look into that first.

-- 
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to