473,322 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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

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
Jul 22 '05 #1
2 2470
In article <BP********************@nnrp1.uunet.ca>, Daniel Czajko
<fa******@hotmail.com> 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
Jul 22 '05 #2
On Mon, 11 Oct 2004 18:26:02 -0400, "Daniel Czajko"
<fa******@hotmail.com> 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>>
Jul 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Arne | last post by:
Hi, Probably an easy answer to this, but I have not been able to figure it out. How can I find the IP-address of the machine that my Java-program is running on ? Could not find any methods in...
4
by: Charlie363 | last post by:
Hi to all, I have a little asp.net website which works great on the local machine but I cannot seem to access it from a remote machine. It is not a connection problem because my remote machine...
13
by: Jay | last post by:
I need to write a program to find mac address of a remote computer, is this possible? How?
0
by: Just D. | last post by:
Does anybody knows the solution if this problem? If we wrote the ASPX page and send the request to the remote browser the remote client browser returns the remote machine IP using by this machine...
0
by: Michael Höhne | last post by:
Hi, we're developing some web services and use the local development server of Visual Studio 2005 to create, run and debug the project. The web service methods connect to a database hosted on a...
2
by: Jazz | last post by:
Hello, I have a webservice(called MyService) which exposes one method(called MyMethod) On the local machine, it can be tested by accessing http://MyServerName/MySite/MyService.asmx/MyMethod ...
9
by: RvGrah | last post by:
After much hair-pulling, I've finally found the answer to a problem that many are fighting with, difficulty connecting from Sql 2005 Server Management or VS2005 to a remote Sql Server running Sql...
2
by: Tor Inge Rislaa | last post by:
Database on remote server On the remote server where my ASP.NET application is located there is no SQL Server or SQL Server Express. When I test my application locally it works fine because...
0
vinoj
by: vinoj | last post by:
Hi All, These are the following things which i want to do:- 1. I will be taking the ipaddress, username and password from the user using cgi ffrom the browser. 2. Now i want...
1
by: =?Utf-8?B?QWdlbmR1bQ==?= | last post by:
I have an issue where I have a remote IP Address, and I need to discover the local network interface IP Address which is viewable to the remote IP Address (for UPnP document purposes). For...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.