Hello to everyone,
I have a problem with a socket.
I connect to a server like the example in http://www.b4x.com/android/forum/threads/asyncstreams-tutorial.7669/ (not using the prefix mode).
The problem is that in the emulator i receive a long string in once in the AStreams_NewData event.
Using the smartphone the AStreams_NewData event is raised more time. Each time it receive a ca 800 bytes string with some points at the end "...................".
How can i receive the whole string like in the emulator??
Thanks and sorry for my english.
Loris Anoardi
I have a problem with a socket.
I connect to a server like the example in http://www.b4x.com/android/forum/threads/asyncstreams-tutorial.7669/ (not using the prefix mode).
The problem is that in the emulator i receive a long string in once in the AStreams_NewData event.
Using the smartphone the AStreams_NewData event is raised more time. Each time it receive a ca 800 bytes string with some points at the end "...................".
How can i receive the whole string like in the emulator??
Thanks and sorry for my english.
Loris Anoardi