Hi,
+ added new C function:
PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases );
it returns array with existing interfaces description.
This code was added for non MS-Windows based platforms only.
Support for MS-Windows has to be added yet.
Xavi has mentioned a popular GetAdaptersInfo() way to get interface
list. Windows also support another method that is more similar to your
implementation (but less info could be obtained using with method):
http://tangentsoft.net/wskfaq/examples/getifaces.html
http://msdn.microsoft.com/en-us/library/ms741621(VS.85).aspx
http://msdn.microsoft.com/en-us/library/ms738568(VS.85).aspx
Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour