-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Right now Mono can't enumerate network interfaces; it assumes none are installed. What's happening is Mono assumes in the default Unix interface enumerator class that it can list them off with getifaddrs, which isn't present under AIX, and is available in a different form with a different name under i. What can be done is writing a backend or two using SIOCGIFCONF based enumeration for AIX; and perhaps one using Qp2getifaddrs under i. (Alternatively, we could point to a wrapper library, but this is a pain.)
This is of relatively high importance because the Socket class uses these to enumerate supported network protocols; and that is used by things like DNS. Fixing this will enable a huge swath of tests under AIX CI. Right now, upstream is in the middle of refactoring this, so I don't know if I should wait for them to finish or not.
In the mean time, our binary builds supply a patch to nop out the check for interfaces in Sockets init.