aaaaaaaaaaaaaaaa
Printable View
aaaaaaaaaaaaaaaa
RemoteHostIP is a read-only property when you are connected to someone over TCP.
Use RemoteHost instead.
Ok I did that but now I'm getting this:
http://support.microsoft.com/kb/260018
I have a listbox of "connected" clients (I know they arent connected, have just sent data) and I want to send some data to back to all of them, but im getting that error.
Have you tried the workaround suggested in the article?
VB6 Code:
Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long) Dim szData As String On Error Resume Next Winsock1.GetData szData If Err Then ' handle the error here End if End Sub
That isn't going to get the data sent .