Date: Fri, 30 Sep 2005 13:38:03 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: josh.carroll@psualum.com Cc: freebsd-current@freebsd.org Subject: Re: [SOLVED] Re: UDP multicast packets not seen on listening interface in BETA5 Message-ID: <20050930133647.C71864@fledge.watson.org> In-Reply-To: <8cb6106e0509292207s45016dbjf67801ddef50a0a1@mail.gmail.com> References: <8cb6106e0509290919177de1c4@mail.gmail.com> <20050929221437.CCAFA16A420@hub.freebsd.org> <8cb6106e0509292124u44520623l4ee770576f2a80f8@mail.gmail.com> <8cb6106e0509292207s45016dbjf67801ddef50a0a1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930133647.C71864>