Results 1 to 3 of 3

Thread: Getting ip address of the remote computer

  1. #1
    Guest

    Post

    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.

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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

  3. #3
    Guest
    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
  •  



Click Here to Expand Forum to Full Width