Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Each platform provides APIs to enumerate the network interfaces, e.g. <a href="http://www.kernel.org/doc/man-pages/online/pages/man3/getifaddrs.3.html" rel="nofollow"><code>getifaddrs</code></a> for many Unixes and <a href="http://msdn.microsoft.com/en-us/library/aa923123.aspx" rel="nofollow"><code>GetAdaptersAddresses</code></a> for Windows. Note on Windows there is a separate numerical space for IPv4 and IPv6 adapters which makes the API call <a href="http://msdn.microsoft.com/en-us/library/bb408409%28v=vs.85%29.aspx" rel="nofollow"><code>if_nametoindex</code></a> quite confusing.</p> <p>You may wish to inspect the methods I employed in OpenPGM for portability, considering Windows doesn't really have useful adapter names:</p> <p><a href="http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/getifaddrs.c" rel="nofollow">http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/getifaddrs.c</a></p> <p><a href="http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/nametoindex.c" rel="nofollow">http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/nametoindex.c</a></p> <p><a href="http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/indextoaddr.c" rel="nofollow">http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/indextoaddr.c</a></p> <p><a href="http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/indextoname.c" rel="nofollow">http://code.google.com/p/openpgm/source/browse/trunk/openpgm/pgm/indextoname.c</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload