[ECOS] gethostname
Bob Koninckx
bob.koninckx@mech.kuleuven.ac.be
Wed Dec 11 00:27:00 GMT 2002
Hi,
My system gets it IP through DHCP. Is there any way to get hold if its
IP an hostname at the application level.
I was thinking of doing gethostname followed by gethostbyname.
Unfortunately, gethostname does not seem to be present. (or did I miss
something ?)
Thanks,
Bob
--
----------------------------------------------------------------------
ir. Bob Koninckx
Katholieke Universiteit Leuven
Division Production Engineering, tel. +32 16 322535
Machine Design and Automation fax. +32 16 322987
Celestijnenlaan 300B bob.koninckx@mech.kuleuven.ac.be
B-3001 Leuven Belgium http://www.mech.kuleuven.ac.be/pma
----------------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list