From owner-freebsd-current@FreeBSD.ORG Fri Sep 30 12:38:07 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0670B16A41F for ; Fri, 30 Sep 2005 12:38:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 990D543D4C for ; Fri, 30 Sep 2005 12:38:06 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with ESMTP id 1235846BE3; Fri, 30 Sep 2005 08:38:04 -0400 (EDT) Date: Fri, 30 Sep 2005 13:38:03 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: josh.carroll@psualum.com In-Reply-To: <8cb6106e0509292207s45016dbjf67801ddef50a0a1@mail.gmail.com> Message-ID: <20050930133647.C71864@fledge.watson.org> References: <8cb6106e0509290919177de1c4@mail.gmail.com> <20050929221437.CCAFA16A420@hub.freebsd.org> <8cb6106e0509292124u44520623l4ee770576f2a80f8@mail.gmail.com> <8cb6106e0509292207s45016dbjf67801ddef50a0a1@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: [SOLVED] Re: UDP multicast packets not seen on listening interface in BETA5 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 12:38:07 -0000 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