On Sat, Mar 6, 2010 at 11:10 PM, Elliott Slaughter <elliottslaughter@gmail.com> wrote:
On Sat, Mar 6, 2010 at 10:44 PM, Hans Hübner <hans.huebner@gmail.com> wrote:Elliott,
to my knowledge, usocket does not provide an API to get a list of all
network interfaces, which is what you need to do if you want to know
the local IP address(es).
One quick workaround is to invoke ifconfig and parse the output. I
know that this is not a very satisfying or portable approach, but it
is quick.Thanks. I wanted to make sure I wasn't missing something.