|
-
Dec 24th, 2000, 09:26 AM
#1
Hi all there,
I am developing an application to automatically transfer the file from my computer to the remote computer and both computer are connected to the internet. How can i find the IP address of the remote computer to which i want to send a file.
How can i find that the computer to which i want to send file is connected to the internet.
-
Dec 25th, 2000, 12:25 AM
#2
What type of application are you writing? Is it web application? If yes, the I can tell you this: if you use ASP then you check the IP by using ServerVariables property of Request object:
Code:
Response.Write Request.ServerVariables("REMOTE_HOST")
If you use client application then you can do it by using Winsock control:
Code:
MsgBox Winsock1.RemoteHostIP
-
Dec 25th, 2000, 10:03 AM
#3
even i use to ponder over this problem but luckily
i had my own website. This is what i did
whenever the remote computer was online, it
use to post a message on a webpage giving its status
and dynamic ip. Whenever my computer went on it use to access that page and read the ip and establishing a connection with that ip.
if you want to know how i did this or use my website as a
the place where you can keep the ip, contact me at:
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|