Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 19:27:10 -0800
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        freebsd-net@freebsd.org
Subject:   Finding all IPv4 addresses associated with INADDR_ANY (?)
Message-ID:  <46800.1077593230@monkeys.com>

next in thread | raw e-mail | index | archive | help


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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46800.1077593230>