This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
gethostname
- From: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- To: ecos-discuss at sources dot redhat dot com
- Date: 11 Dec 2002 09:27:45 +0100
- Subject: [ECOS] gethostname
- Organization: KULeuven
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