I'm using multiple Sockets/AsyncStreams for a server solution (B4J as the server, B4A apps as clients). So if multiple connected clients send data at "one time", will they be queued? (I assume there is no multithreading, so they will be queued and processed first in first out).
Each AsyncStreams object uses a different thread to read the data and is not affected by other instances. The NewData event is raised on the main thread.
Each AsyncStreams object uses a different thread to read the data and is not affected by other instances. The NewData event is raised on the main thread.
So then it's serialized in the main thread? I'm thinking to use global variables to hold the received data until it's processed. Right now I create new instances for every received data and I have to reach it through all subs I call while processing.