![]() |
#2
yingshu2018-10-31 12:58
|
Private Sub Command1_Click()
If Text1.Text = "" Then
MsgBox "请输入IP地址!"
Exit Sub
ElseIf Text2.Text = "" Then
MsgBox "请输入监听端口!"
Exit Sub
End If
FindFreeSock (Listen)
Listen(SockIndex).RemoteHostIP = Text1.Text-----------------------------------此行出错
Listen(SockIndex).RemotePort = Text2.Text
Listen(SockIndex).Listen
Picture1.Print "正在监听,请稍后......"
End Sub