|
-
Apr 22nd, 2008, 10:26 PM
#1
Thread Starter
Member
Last edited by hellowonn; May 9th, 2008 at 10:05 PM.
-
Apr 22nd, 2008, 10:56 PM
#2
Re: vb6 UDP sending data
RemoteHostIP is a read-only property when you are connected to someone over TCP.
Use RemoteHost instead.
-
Apr 23rd, 2008, 03:48 AM
#3
Thread Starter
Member
Re: vb6 UDP sending data
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.
-
Apr 23rd, 2008, 04:03 AM
#4
Re: vb6 UDP sending data
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
-
Apr 23rd, 2008, 04:45 AM
#5
Thread Starter
Member
Re: vb6 UDP sending data
That isn't going to get the data sent .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|