techknight Well-Known Member Licensed User Longtime User May 1, 2018 #1 Is there a library or way to setup a B4A app as a WebSocket server? I need this ability to try and communicate with another device that expects to connect back to a running websocket server, and its raw JSON data. BTW it also expects the websocket to be on "/" which is something that keeps crashing B4J. Last edited: May 1, 2018
Is there a library or way to setup a B4A app as a WebSocket server? I need this ability to try and communicate with another device that expects to connect back to a running websocket server, and its raw JSON data. BTW it also expects the websocket to be on "/" which is something that keeps crashing B4J.
Erel B4X founder Staff member Licensed User Longtime User May 2, 2018 #2 techknight said: BTW it also expects the websocket to be on "/" which is something that keeps crashing B4J. Click to expand... I don't understand this sentence. Does B4J (the IDE) crash because there is a missing "/"? There is no WebSocket server library available for B4A. Upvote 0
techknight said: BTW it also expects the websocket to be on "/" which is something that keeps crashing B4J. Click to expand... I don't understand this sentence. Does B4J (the IDE) crash because there is a missing "/"? There is no WebSocket server library available for B4A.
techknight Well-Known Member Licensed User Longtime User May 2, 2018 #3 Sorry, I will clear it up: the compiled program crashes because of multiple instances of something using "/" because I think Jetty itself is actually using it internally and I cant bind a websocket to it. Anyways sorry that needed to be in the B4J forum. Upvote 0
Sorry, I will clear it up: the compiled program crashes because of multiple instances of something using "/" because I think Jetty itself is actually using it internally and I cant bind a websocket to it. Anyways sorry that needed to be in the B4J forum.
techknight Well-Known Member Licensed User Longtime User May 2, 2018 #4 Erel said: There is no WebSocket server library available for B4A. Click to expand... Darn. ok. Thanks for the info! Upvote 0
Erel said: There is no WebSocket server library available for B4A. Click to expand... Darn. ok. Thanks for the info!