Hello Erel,
i don't wanna highjack this thread, but i've got a question regardings this.
That piece never works for me:
Code:
Sub Timer1_Tick
If client.DataAvailable Then Dim buffer(4096) As byte
count = stream.ReadBytes(buffer(),4096)
TextBox2.Text = bit.BytesToString(buffer(),0,count)
End If
End Sub
The line
If client.DataAvailable Then
..
end if
gets never triggered and therefore i never catch the server's response.If i remove this check, i can read the server's response but run risk to get stuck because there's maybe no answer from the server pending anymore .
cheers
TWELVE