Finding all IPv4 addresses associated with INADDR_ANY (?)

Ronald F. Guilmette rfg at monkeys.com
Mon Feb 23 19:27:10 PST 2004



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?


More information about the freebsd-net mailing list