944,056 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3661
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Oct 30th, 2004
0

Ip Address

Expand Post »
I was just thinking if it is possible to determine ones own ip address with the help of C++???Can someone please clear this query of mine
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004
Oct 30th, 2004
0

Re: Ip Address

Yes, it is possible. It isn't terribly difficult either if you're familiar with socket programming.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 30th, 2004
0

Re: Ip Address

Quote originally posted by Narue ...
Yes, it is possible. It isn't terribly difficult either if you're familiar with socket programming.
BUT I have no idea of socket programming. Can u give a site which will give me a program for finding the ip address???
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004
Oct 30th, 2004
0

Re: Ip Address

>BUT I have no idea of socket programming.
You didn't ask how to do it, only if it was possible.

>Can u give a site which will give me a program for finding the ip address???
www.google.com
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 30th, 2004
0

Re: Ip Address

Quote originally posted by Narue ...
>BUT I have no idea of socket programming.
You didn't ask how to do it, only if it was possible.

>Can u give a site which will give me a program for finding the ip address???
www.google.com
THANKS A LOT BUT I KNEW THAT ALREADY!!!
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004
Oct 30th, 2004
0

Re: Ip Address

>THANKS A LOT BUT I KNEW THAT ALREADY!!!
Then why did you ask?

By the way, using all caps is considered very rude and insulting. You're lucky I'm not in one of my moods today or I would let loose on you, and then never help you again.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Oct 31st, 2004
0

Re: Ip Address

Quote originally posted by Narue ...
>THANKS A LOT BUT I KNEW THAT ALREADY!!!
Then why did you ask?

By the way, using all caps is considered very rude and insulting. You're lucky I'm not in one of my moods today or I would let loose on you, and then never help you again.
Well I am sorry if at all I hurt you. Trust me I had no intention of doing so. I am really sorry. I think there is a misunderstanding. I was referring to the site you mentioned not the thing about socket programming. This thing which informed me abou is gonna help me a great deal. So THANX oops i mean Thanx for that.
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004
Nov 3rd, 2004
0

Ip Address

FRROSSK Please help me as i think you are the only person on this site who replies politely. My question is how do we find the ip address of ones own computer using c++. Narue said its by socket programming but does that work on DOS or is it only for UNIX.Thats it!!
Thanks
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004
Nov 3rd, 2004
0

Re: Ip Address

Quote originally posted by jigvesh ...
FRROSSK Please help me as i think you are the only person on this site who replies politely.
Thanks for appreciation

Quote ...
My question is how do we find the ip address of ones own computer using c++. Narue said its by socket programming but does that work on DOS or is it only for UNIX.Thats it!!
Thanks
Narue is right; this is by socket programming, and this kind of programming is supported also on Windows; but, unfortunately, I was never programming with sockets, so I can't be very helpful on that (to be more specific, I am not helpful at all ).
Reputation Points: 17
Solved Threads: 9
Posting Whiz in Training
frrossk is offline Offline
220 posts
since Sep 2004
Nov 3rd, 2004
0

Re: Ip Address

Quote originally posted by frrossk ...
Thanks for appreciation


Narue is right; this is by socket programming, and this kind of programming is supported also on Windows; but, unfortunately, I was never programming with sockets, so I can't be very helpful on that (to be more specific, I am not helpful at all ).
Thanx anyways as I said earlier, YOU INDEED ARE VERY POLITE. Frankly, Hope you do well wherever you are. Best wishes
Reputation Points: 10
Solved Threads: 0
Light Poster
jigvesh is offline Offline
44 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: Right aligning items in TListBox (C++ Builder)
Next Thread in C++ Forum Timeline: **help me out***





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC