How to obtain own IP address

Post questions regarding programming in C/C++ in Linux/Unix.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

How to obtain own IP address

Postby Guest » Wed May 12, 2004 2:32 am

How do you obtain your ip address? I don't want local host -- 127.0.0.1. If I could get it in the string format that would be perfect otherwise u_long represenation of ip would be enough.
What libraries are there to use or what methods can we use??

Please HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!1
Guest
 

Postby Alvaro » Wed May 12, 2004 6:50 am

This has been answered before. Search!
User avatar
Alvaro
Moderator
 
Posts: 5185
Joined: Mon Sep 22, 2003 4:57 pm
Location: NY, USA

wow

Postby Guest » Wed May 12, 2004 7:13 pm

wow this is the fourth time i've seen this question in the last 3 days. GRR
Guest
 

Postby Guest » Wed May 12, 2004 10:03 pm

THANK YOU all for these worthless replies!!!!!!!!!!!!!
Guest
 

Postby Alvaro » Wed May 12, 2004 10:08 pm

viewtopic.php?t=4243&highlight=ip+address

You need to start improving your research skills. I told you to search, and it took me about 30 seconds to find that link using the search facility in this forum (link at the top of this page).
User avatar
Alvaro
Moderator
 
Posts: 5185
Joined: Mon Sep 22, 2003 4:57 pm
Location: NY, USA

Postby Guest » Wed May 12, 2004 10:21 pm

Thank you alvaro for your help. I just did not get a chance to search for it in the forum before you seached the forum for me. Thanks
Guest
 


Return to Unix/Linux

Who is online

Users browsing this forum: No registered users and 0 guests