Porting getifaddrs to Win XP

Posted by Goz on Stack Overflow See other posts from Stack Overflow or by Goz
Published on 2010-06-18T11:08:15Z Indexed on 2010/06/18 11:13 UTC
Read the original article Hit count: 409

Filed under:
|
|
|
|

Hi all,

I'm trying to port a MacOSX app to windows and I've come up against a problem around getifaddrs. Basically windows does not support it. I'm trying to figure a way to re-implement it (for AF_INET and AF_INET6) but the "equivalent" functionality on windows appears to be nothing like the MacOSX support.

Has someone done this sort of conversion before? If so is there a nice way I can get windows to report me interface info like MacOSX does?

© Stack Overflow or respective owner

Related posts about c++

Related posts about macosx