B4J Question Websocket RunFunction/Flush

mauro vicamini

Active Member
Licensed User
Longtime User
Hi Evreyone!
I'd like to know if the following code it's syncronous or asyncronous (where 'ws' is a websocket):
B4X: Copy
            ws.RunFunction("xxxxx", Null)
            ws.Flush

More exactly if an hight latency of the connection or a low speed of the client could have a reflection on the execution time of the above server script.
Thanks for the attention.
 
Thanks Erel for your replay!
There could be some reason why sometimes a client could not recive a call to the function specified in the RunFunction ? It seems to happen some times without a disconnection. It happens also that recive it with an extreme delay (also 10 seconds).
 
Upvote 0
Back
Top