T Toley Active Member Licensed User Longtime User Sep 6, 2016 #1 I'm running a B4J Server and I'm able to detect a client is connected with the Server_NewConnection. But is there a way to detect that the client has closed the socket something like a SocketClosed event?
I'm running a B4J Server and I'm able to detect a client is connected with the Server_NewConnection. But is there a way to detect that the client has closed the socket something like a SocketClosed event?
Erel B4X founder Staff member Licensed User Longtime User Sep 6, 2016 #2 Yes. You should use AsyncStreams and handle the Terminated and Error events. Upvote 0
T Toley Active Member Licensed User Longtime User Sep 6, 2016 #3 Thanks Erel I just found it and it works. Sorry to ask too quickly. Upvote 0