Feature Requests: Browse | Submit New | Admin

[#12417] Add a way to get local interfaces

Date:
2007-07-19 14:36
Priority:
3
Submitted By:
Daniel Berger (djberg96)
Assigned To:
Daniel Berger (djberg96)
Category:
sys-host
State:
Open
Summary:
Add a way to get local interfaces

Detailed description
[Based on an email conversation with mksm.sama@gmail.com]

Add a way to iterate over local interfaces, e.g. eth, eth1, eth2, etc. The Host.ip_addr is DNS only.

Possible solutions are listed in Stevens "Unix Network Programming, Volume 1, 431 ff. and 459 ff.

The sysctl + NET_RF_IFLIST approach is easier but less portable.

- Me

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item