Y Yuri Cinesi Active Member Licensed User Jul 4, 2019 #1 I wrote a B4J application and it seems to hang after a certain amount of time with no errors visible. The application itself sends firebase messages and uses asynctextstreams to recieve text from B4A/B4i applications. All the various errors should be handled correctly. I've attached the project. I have the application itself running inside a screen command in a lightsail AWS instance. Attachments ServerApp.zip ServerApp.zip 2.9 KB · Views: 318
I wrote a B4J application and it seems to hang after a certain amount of time with no errors visible. The application itself sends firebase messages and uses asynctextstreams to recieve text from B4A/B4i applications. All the various errors should be handled correctly. I've attached the project. I have the application itself running inside a screen command in a lightsail AWS instance.
Erel B4X founder Staff member Licensed User Longtime User Jul 5, 2019 #2 Building a server, with sockets, that handles multiple clients is a mistake. It is difficult to do it correctly and you have much better options available. Use jServer to create a real server. Upvote 0
Building a server, with sockets, that handles multiple clients is a mistake. It is difficult to do it correctly and you have much better options available. Use jServer to create a real server.