linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* retriving a dhcp assigned ip
@ 2003-03-22 20:42 Massimiliano Cialdi
  2003-03-22 20:46 ` Jan-Benedict Glaw
  2003-03-22 22:06 ` Flávio de Ayra Mendes
  0 siblings, 2 replies; 3+ messages in thread
From: Massimiliano Cialdi @ 2003-03-22 20:42 UTC (permalink / raw)
  To: linux-c-programming

How can I retrive the ip address assigned to my host by a dhcp server?
I think I need to use ioctl with SIOCGIFADDR parameter, but I don't know
where the address is saved.

thanks

-- 
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it
cialdi@control.dsi.unifi.it

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-22 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-22 20:42 retriving a dhcp assigned ip Massimiliano Cialdi
2003-03-22 20:46 ` Jan-Benedict Glaw
2003-03-22 22:06 ` Flávio de Ayra Mendes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).