I need to construct a list of all configured IP addresses on my OS400
machine. I need one MAC address as an unique host ID (e.g. the MAC address
of the first ethernet device).

By searching in InfoCenter I found the function 'QtocLstPhyIfcDta()'.
However I don't know how to use it. I didn't find even its definition in
header files.

Can someone help me?
BTW: Is there any better way to get an unique (persistent between program
runs) host ID? - something is returned by 'uname -a', however I don't know
what is it, nor how to get it.

Thanks and best regards,

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].