T tkabakci76 New Member Licensed User Nov 12, 2022 #1 Im trying to Initialize websocketclient in jserver app. websocketclient will connect to outer websocket server and starts to listen after jserver started. Now Im getting an error while initialing. How can I do this ? is it possible to run jserver and websocket clients in same app ?
Im trying to Initialize websocketclient in jserver app. websocketclient will connect to outer websocket server and starts to listen after jserver started. Now Im getting an error while initialing. How can I do this ? is it possible to run jserver and websocket clients in same app ?
Erel B4X founder Staff member Licensed User Longtime User Nov 13, 2022 #2 tkabakci76 said: Now Im getting an error while initialing. Click to expand... Please post the error message. Upvote 0
tkabakci76 said: Now Im getting an error while initialing. Click to expand... Please post the error message.
T tkabakci76 New Member Licensed User Nov 18, 2022 #3 Erel said: Please post the error message. Click to expand... Im trying to Initialize websocketclient at Main/AppStart Sub. Same Sub with Server Initialization. or after any command. Main error is "Program terminated (StartMessageLoop was not called)." What should the initilazation order be? where should i initilaze websocketclient ? Where and how can I get websocketclient events ? Thank you very much. Upvote 0
Erel said: Please post the error message. Click to expand... Im trying to Initialize websocketclient at Main/AppStart Sub. Same Sub with Server Initialization. or after any command. Main error is "Program terminated (StartMessageLoop was not called)." What should the initilazation order be? where should i initilaze websocketclient ? Where and how can I get websocketclient events ? Thank you very much.
C Chris2 Well-Known Member Licensed User Longtime User Nov 18, 2022 #4 It will be helpful if you post your AppStart code. I would guess that either a) as the message says, you are not calling StartMessageLoop. See this Or b) you have a 'Wait For....' in the sub, before StartMessageLoop. See this Upvote 0
It will be helpful if you post your AppStart code. I would guess that either a) as the message says, you are not calling StartMessageLoop. See this Or b) you have a 'Wait For....' in the sub, before StartMessageLoop. See this