DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   [MERGED] Ip Address (http://www.daniweb.com/forums/thread13443.html)

jigvesh Oct 30th, 2004 3:29 pm
Ip Address
 
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

Narue Oct 30th, 2004 3:32 pm
Re: Ip Address
 
Yes, it is possible. It isn't terribly difficult either if you're familiar with socket programming.

jigvesh Oct 30th, 2004 3:38 pm
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???

Narue Oct 30th, 2004 3:45 pm
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

jigvesh Oct 30th, 2004 3:51 pm
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!!!

Narue Oct 30th, 2004 4:04 pm
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.

jigvesh Oct 31st, 2004 2:39 pm
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.

jigvesh Nov 3rd, 2004 2:25 pm
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

frrossk Nov 3rd, 2004 2:32 pm
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 :) ).

jigvesh Nov 3rd, 2004 2:40 pm
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


All times are GMT -4. The time now is 11:47 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC