View Single Post
  #21 (permalink)  
Old 02-10-2010, 10:09 PM
konisek's Avatar
konisek konisek is offline
Knows the basics
 
Join Date: Jan 2009
Posts: 55
Default

Sorry, I still don't understand it how to read data into array asynchronously. I looked at the help file but still am not sure. Is this the correct way?
Code:
Sub Button1_Click
....
stream.WriteBytes(stream.StringToBytes(name))
response.Value = request.AsyncResponse
....
"buffer operation"
....
End Sub

Sub request_Response
Dim buffer(1024As byte
count = bin.ReadBytes(buffer(),
1024)
End Sub
Reply With Quote