InetConnect Example for Visual Basic

Private Sub Command1_Click()
   ' connect to computer 127.0.0.1
   LEADNet1.InetConnect "127.0.0.1", 1000
End Sub