TomDuncan Active Member Licensed User Longtime User Nov 1, 2020 #1 Hi All, I have setup multiple websockets that run at the same time. I need a way of sending data from one websocket page to another and that value being updated. Much like the chat room but this is using more than one websocket. Tom
Hi All, I have setup multiple websockets that run at the same time. I need a way of sending data from one websocket page to another and that value being updated. Much like the chat room but this is using more than one websocket. Tom
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2020 #2 TomDuncan said: Much like the chat room but this is using more than one websocket. Click to expand... It doesn't really matter. You need to use a thread safe map which tracks the class instances. Then you get the correct class instance and call it with CallSubDelayed. Upvote 0
TomDuncan said: Much like the chat room but this is using more than one websocket. Click to expand... It doesn't really matter. You need to use a thread safe map which tracks the class instances. Then you get the correct class instance and call it with CallSubDelayed.
TomDuncan Active Member Licensed User Longtime User Nov 1, 2020 #3 Thanks for that. Just added a new map for the admin person. Works like a charm. oops operator error. Still working on how to get the correct class instance Last edited: Nov 2, 2020 Upvote 0
Thanks for that. Just added a new map for the admin person. Works like a charm. oops operator error. Still working on how to get the correct class instance