[SOLVED] Re: UDP multicast packets not seen on listening interface in BETA5

Robert Watson rwatson at FreeBSD.org
Fri Sep 30 05:38:07 PDT 2005


On Thu, 29 Sep 2005, Josh Carroll wrote:

> Ideally, I'd like to update the code to search the local interfaces with 
> SIOCGIFCONF and use that IP (if available), but testing it with my IP 
> hard-coded doesn't seem to work.
>
> But debugging my code is outside the scope of this mailing list. :)

Glad the problem is worked out -- for reference, you may also be 
interested in the getifaddrs(3) API, which allows you to query the set of 
interface addresses available, and may be useful in teaching your 
application about how to identify and use available interfaces.

Robert N M Watson


More information about the freebsd-current mailing list