- Код: Выделить всё
Private Sub Form_Load()
ws.Bind 3030, "0.0.0.0"
End Sub
Private Sub ws_DataArrival(ByVal bytesTotal As Long)
MsgBox "<с_какого_IP_отправлены_данные>"
End Sub
Private Sub Form_Load()
ws.Bind 3030, "0.0.0.0"
End Sub
Private Sub ws_DataArrival(ByVal bytesTotal As Long)
MsgBox "<с_какого_IP_отправлены_данные>"
End Sub
Private Sub Form_Load()
With Winsock1
.Protocol = sckUDPProtocol
.Bind 1111, "0.0.0.0"
End With
End Sub
Private Sub Winsock1_Connect()
MsgBox "b"
End Sub
Private Sub Winsock1_ConnectionRequest(ByVal requestID As Long)
MsgBox "c"
End Sub
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
MsgBox "a"
MsgBox Winsock1.RemoteHostIP
End Sub
Сейчас этот форум просматривают: Google-бот, SemrushBot и гости: 47