- Jun 6, 2020
- 11,517
- 4,383
As recommended by @Erel in this
In replacing the http based comms part of my project I hit some "roadblocks". So created a simple project to eliminate other potential sources of the problems in order to just test the server/client comms. I was able to establish the required two way comms between my simple B4J client and the B4J server when run within the IDE, however when I create an executable using B4JPackager11, the client immediately disconnects after attempting a websocket connection to the server.
I ported the simple B4J client to B4A. That performs as expected by connecting and consuming the data periodically sent from the server via the websocket connection. For clarity below is the class called by...
برای دیدن لینک ها باید ثبت نام کنید
, I have commenced migrating the communications in my project from http to websocket, however it's not been as simple as I thought it would be.In replacing the http based comms part of my project I hit some "roadblocks". So created a simple project to eliminate other potential sources of the problems in order to just test the server/client comms. I was able to establish the required two way comms between my simple B4J client and the B4J server when run within the IDE, however when I create an executable using B4JPackager11, the client immediately disconnects after attempting a websocket connection to the server.
I ported the simple B4J client to B4A. That performs as expected by connecting and consuming the data periodically sent from the server via the websocket connection. For clarity below is the class called by...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید