Results 1 to 5 of 5

Thread: How to Detect the IP Address of my local machine

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Location
    mumbai(india)
    Posts
    26

    Angry How to Detect the IP Address of my local machine

    i am connecting to the internet using dial up networking and every time i connect i need write a program which will fetch the ip address and mail it to someboidy

  2. #2
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    what about adding a winsock control and then trying

    Code:
    Winsock1.LocalIp
    It can be done with the api, but there's a lot of code involved
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  3. #3
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    Click this smily:

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Location
    mumbai(india)
    Posts
    26

    How to get the TCP/IP IP address

    How to get the TCP/IP IP address, which is dynamic and changes everytime i connect to the net, using modem.

  5. #5
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892
    (From e-mail response)
    this works fine for local ipaddress. But how to find the tcp/ip ipaddress which is dynamic and everytime i get a new one whenever i connect to the net using dial-up networking
    What's the difference?
    The code (both the API one and the one with the Winsock control) works fine for me and reports my dynamic IP. I don't have a local IP unless 127.0.0.1 counts.

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