Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > How do I find out a remote machine's IP address?

Reply
Thread Tools

How do I find out a remote machine's IP address?

 
 
Daniel Czajko
Guest
Posts: n/a
 
      10-11-2004
Given that I already have a remote computer's name, how would I go about
finding out its IP address?
I'm using VC++ 5.

Thanks


 
Reply With Quote
 
 
 
 
Alwyn
Guest
Posts: n/a
 
      10-11-2004
In article <BPDad.79201$>, Daniel Czajko
<> wrote:

> Given that I already have a remote computer's name, how would I go about
> finding out its IP address?
> I'm using VC++ 5.


'gethostbyname' is usual on Posix-compliant systems, which, I believe,
current MS Windows claims to be.
<http://msdn.microsoft.com/library/de...y/en-us/winsoc
k/winsock/gethostbyname_2.asp>

It's not a part of standard C++, though, but I think it ought to be.


Alwyn
 
Reply With Quote
 
 
 
 
Barry Schwarz
Guest
Posts: n/a
 
      10-12-2004
On Mon, 11 Oct 2004 18:26:02 -0400, "Daniel Czajko"
<> wrote:

>Given that I already have a remote computer's name, how would I go about
>finding out its IP address?
>I'm using VC++ 5.
>

By asking in a group that deals with VC.


<<Remove the del for email>>
 
Reply With Quote
 
kesahey kesahey is offline
Junior Member
Join Date: Oct 2009
Posts: 1
 
      10-21-2009
How can i check my computer ip address.I just visit the site named ip-details.com & check my ISP ip address. But i want to find the computer ip address by any coding method. Need help pls???
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to exclude action of Find::Find::find in subdirectories withknown names? vdvorkin Perl Misc 3 02-14-2011 05:28 AM
How to exclude action of Find::Find::find in subdirectories withknown names? vdvorkin Perl Misc 0 02-10-2011 05:18 PM
Find.find does not find orphaned links? Wybo Dekker Ruby 1 11-15-2005 02:50 PM
Remote Assistance fails to connect, remote remote host name could not be resolved Peter Sale Wireless Networking 1 12-11-2004 09:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57