[MERGED] Ip Address

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Ip Address

 
0
  #1
Oct 30th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,596
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 711
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Ip Address

 
0
  #2
Oct 30th, 2004
Yes, it is possible. It isn't terribly difficult either if you're familiar with socket programming.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Re: Ip Address

 
0
  #3
Oct 30th, 2004
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???
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,596
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 711
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Ip Address

 
0
  #4
Oct 30th, 2004
>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
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Re: Ip Address

 
0
  #5
Oct 30th, 2004
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!!!
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,596
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 711
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: Ip Address

 
0
  #6
Oct 30th, 2004
>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.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Re: Ip Address

 
0
  #7
Oct 31st, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Ip Address

 
0
  #8
Nov 3rd, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 220
Reputation: frrossk is an unknown quantity at this point 
Solved Threads: 9
frrossk's Avatar
frrossk frrossk is offline Offline
Posting Whiz in Training

Re: Ip Address

 
0
  #9
Nov 3rd, 2004
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

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 ).
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 44
Reputation: jigvesh is an unknown quantity at this point 
Solved Threads: 0
jigvesh jigvesh is offline Offline
Light Poster

Re: Ip Address

 
0
  #10
Nov 3rd, 2004
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC