Hi,

Anyone know how to test to see whether data is being sent through a winsock control?

For example:

Private Sub cmdSendData_Click()
Winsock1.SendData "Hello, please help me"
End Sub

Private Sub cmdSendMoreData_Click()
If Winsock1 <> Sending Data Then
Winsock1.SendData "Ok"
Else
MsgBox "Data is currently being sent."
End If
End Sub

Anyone know how to do the 'If Winsock1 <> Sending Data Then' bit?

Thanks a lot
/Nick