Computing.Net > Forums > Unix > IP address

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

IP address

Reply to Message Icon

Name: Srinu
Date: February 4, 2002 at 09:33:39 Pacific
Comment:

Hi all,
I'm trying to write a ping program using threads. I'am able to receive and send the packets. But, I'm supposed to print my own IP address also in the output. I have tried to do so, but i'm getting 0.0.0.0 which essentially is the address for source. Can anybody tell me as to how I can get to print my actuall IP address?
Thanking you in anticipation,
Srinu



Sponsored Link
Ads by Google

Response Number 1
Name: jo
Date: February 7, 2002 at 04:51:50 Pacific
Reply:

ifconfig -a


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: IP address

IP Address problem www.computing.net/answers/unix/ip-address-problem/1386.html

Changing domains and IP addresses www.computing.net/answers/unix/changing-domains-and-ip-addresses/5494.html

printing to an ip address www.computing.net/answers/unix/printing-to-an-ip-address/3463.html