Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IP - Simple Question....
#1
Hi! i want to ask little help

how to read ip from whatismyip.org to write in to textbox?
i just need to know how to read ip from whatismyip Big Grin

thx,

Jourdan
Reply
#2
The client has a Winsock Control.

Make a Form, call it frmIP

Put a label on it. Call it lblIP

Code:
Private Sub Form_Load()
lblIP.Caption = frmMirage.Socket.LocalIP
End Sub

Something to that extent. Nice, quick, easy.
Reply
#3
if you're behind a router you're screwed basically, and you'll have to do a totally different code... as it'll give you the LAN address..
Reply
#4
same code....you just need to port forward.
Reply
#5
GSD wrtoe something a while back to get the IP directly from whatsmyip.org, ill see if i can find it.
Reply
#6
Theres a simpler way register at http://www.no-ip.org :roll: no need to update client
Reply
#7
That isn't simpler, it has nothing to do with the request.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)