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 WatsonReceived on Fri Sep 30 2005 - 10:38:07 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:44 UTC