Hi Everyone,
I try to test send /receive data over socket but Why Receive Only one character over client socket!! ?
Android device as client ,PC as server.
Server can received all data from client,But when server send data ,client received only one character, Like this
Android =>send "Hello Server"
Server <= receive "Hello Server"
Server => send "Hello Client"
Android <= receive "H"
I use a AsyncStreams and receive data in AStreams_NewData like this
Sub AStreams_NewData (Buffer() As Byte)
Dim msg As String
msg = BytesToString(Buffer, 0, Buffer.Length, "ISO-8859-1")
EditText1.Text = msg
Log(msg)
End Sub
Thank you very much.