Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
find IP from other PC over Internet
Name: Pavlos Tr Date: October 11, 2002 at 16:51:52 Pacific OS: win32 CPU/Ram: amd k6-2 450
Comment:
hallo programmers
i have a problem with my client/server program. I can connect the client to the server over the internet only if I know the IP address of the server , and because my ISP gives me a > address every time I connect to the internet I want to ask if there is an easy way so that the client can get the servers IP automatically
I'm programming in C with mingw32 (gcc) for win32. thanks
Name: Jim Date: October 11, 2002 at 19:30:36 Pacific
Reply:
I can think of two possibilities.
1) Usually there will be a range of possible IP addresses that your internet provider can assign to you. You could try them all until you find the one that will respond. Your provider may not like you pinging all the other customers, and they may think you're trying to hack them or something, but it would work.
2) Use a third party server that DOES have a static IP address. For example, when you log in, have your server FTP into your internet site and deposit a file with his IP address in it. Then your client can FTP in and pick up the IP address.
0
Response Number 2
Name: Cerj (by cerj) Date: October 14, 2002 at 04:10:37 Pacific
Reply:
You can also use a dynamic dns server like the one at www.dyndns.org
Summary: Hi All, Can any one tell me how to connect to another pc and transfer files from that pc to our pc by using a batch script. Thanks In Advance ...
Summary: I am trying to get an enviroment Variable from a remote PC. I can get a serial number from remote PC using the following command: ----------------------- wmic /node:%computername% bios get serialnumbe...