Get Local information with the Winsock Control
Get Local information with the Winsock Control
Rate Get Local information with the Winsock Control
(1(1 Vote))
'Make a textbox called: "txtLocalHostName"
'Make a textbox called: "txtLocalPort"
'Make a winsock control.
'Make a button called: "cmdRecieve" with the same caption.
'Here follows the Code
Private sub cmdRecieve_Click()
txtLocalIP.text = winsock1.LocalIP
txtLocalHostName.text = winsock1.Localhostname
txtLocalPort.text = winsock1.localport
End Sub
Get Local information with the Winsock Control Comments
No comments yet — be the first to post one!
Post a Comment