Continued from https://www.b4x.com/android/forum/threads/b4r-sockets-astreams-initialize-errors-8266-wifi.108381/
regarding tutorial https://www.b4x.com/android/forum/threads/connecting-two-esp8266-boards.89726/#content
I've re- read and re-tested the code from the tutorial as suggested, and again get the same result. i.e. as given in the tutorial.
I still don't understand why Astream_error is called each time.
Perhaps I am just being blind or stupid but could you please explain why?
Thanks
Server:
Client:
regarding tutorial https://www.b4x.com/android/forum/threads/connecting-two-esp8266-boards.89726/#content
I've re- read and re-tested the code from the tutorial as suggested, and again get the same result. i.e. as given in the tutorial.
I still don't understand why Astream_error is called each time.
Perhaps I am just being blind or stupid but could you please explain why?
Thanks
Server:
B4X:
1
192.168.4.1
192.168.4.1
0.0.0.0
new connection
new data: hello!!!
error <----------------
new connection
new data: hello!!!
error <----------------
new connection
new data: hello!!!
error <----------------
Client:
B4X:
1
192.168.4.2
Trying to connect
connected
error <---------------