Results 1 to 3 of 3

Thread: ip address (localhost)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    154

    ip address (localhost)

    how do i get it? (i know about winipcfg, i am talking about through vb programming though)

    (you might also refer to it as "internal ip")
    Last edited by ca1n3; May 23rd, 2001 at 01:34 AM.

  2. #2
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    Use winsock control!

    Then:

    Private Sub Command4_Click()
    MsgBox winsock1.LocalIP
    End Sub

  3. #3
    using the winsock control:
    Code:
    dim ip as string
    
    ip = winsock1.localip
    debug.print ip
    this should work.

    [late post .... DOH!!!!]
    Matt Bradbury

    An optimist will claim the glass is half full.
    A pessimist that it is half empty.
    I just think the glass is too big.

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