B4R Question B4R Sockets, Astreams, initialize, errors. 8266 wifi

RJB

Active Member
Licensed User
Longtime User
Hi,
some points/ queries:
I assume that you do not initialize sockets in B4R as there is no socket.initialize.
I also assume that there is no Socket_Connected (Successful As Boolean) as that doesn't seem to trigger? (I'm using Socket.Connected to see if it safe to send, is that the correct approach?)
Astream_Error seems to trigger for each Astreams.Write. Is that correct? If not then what could cause it to do so? Without any debugging support I can't find the cause.
Thanks
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Carefully read the tutorial: https://www.b4x.com/android/forum/threads/connecting-two-esp8266-boards.89726/#content

Screenshot from the tutorial:

firefox_rSLdPX1Mfx.png


Also read and understand the code. It is quite simple.
For further discussion please start a new thread.
 
Upvote 0
Top