Robert Diaz <> Wrote:
> > The most likely reason for the error is your code is not thread-safe. The
> > websocket function is executing code in a different thread from the GUI
> > components. You need to create some type of mutex.
> How to create mutex in my function? Shall i get some samples?
My socket object(osock) is instance of xbwebsocket class,i think it's not thread safe. Do I need to change it to xbsocketThread class ?How i will do that?Any example program using this class?