By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,903 Members | 1,257 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,903 IT Pros & Developers. It's quick & easy.

retrieve all ip addresses in system

P: n/a
Hi ,

is there any system or C function calls to retreive the list the ipaddress
in a system (windows2000). there are 2 nic's.

thanks,
hari
Nov 13 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
look up gethostname, gethostbyname

"hari" <hp******@yahoo.com> wrote in message
news:bd**************************@posting.google.c om...
Hi ,

is there any system or C function calls to retreive the list the ipaddress in a system (windows2000). there are 2 nic's.

thanks,
hari

Nov 13 '05 #2

P: n/a
"flekso" <ta****@email.hinet.hr> wrote:

[ Do not top-post, please. ]
"hari" <hp******@yahoo.com> wrote in message
news:bd**************************@posting.google.c om...
is there any system or C function calls to retreive the list the
ipaddress in a system (windows2000). there are 2 nic's.

No ISO C way, no. For Windows-specific functions, ask in a Microsoft
newsgroup.
look up gethostname, gethostbyname


Neither of those functions is in the ISO Standard; therefore, both are
off-topic here.

Richard
Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.