From owner-freebsd-net@FreeBSD.ORG Mon Feb 23 19:27:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65E2516A4CE for ; Mon, 23 Feb 2004 19:27:10 -0800 (PST) Received: from segfault.monkeys.com (segfault.monkeys.com [66.60.159.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48DCC43D1F for ; Mon, 23 Feb 2004 19:27:10 -0800 (PST) (envelope-from rfg@monkeys.com) Received: from monkeys.com (unknown [127.0.0.1]) by segfault.monkeys.com (Postfix) with ESMTP id 2865342036 for ; Mon, 23 Feb 2004 19:27:10 -0800 (PST) To: freebsd-net@freebsd.org Date: Mon, 23 Feb 2004 19:27:10 -0800 Message-ID: <46800.1077593230@monkeys.com> From: "Ronald F. Guilmette" Subject: Finding all IPv4 addresses associated with INADDR_ANY (?) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 03:27:10 -0000 Greetings, Given a socket which has been properly created, opened, and then bound to some port and the special INADDR_ANY ``wildcard'' address, I need to be able to them programatically find all of the IPv4 addresses that the socket was just bound to. Can anyone suggest a way to do this? Can anyone suggest a way to do this easily? Can anyone suggest a way to do this portably?