You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have your library in my project.. I have developed the client program where it is able to connect to the server which is developed in java.. Also able to send my message to server over the webscoket.
The problem is when ethernet cable is removed from the server side, their the onerror method is called & their he is closing the webscoket & recreating it.
But from the client side it is getting blocked at libwsclient_send() ;
How can I come over from this blocking call like what we use select() & poll() for linux socket, instead of blocking the whole application.
The text was updated successfully, but these errors were encountered:
Hi,
I have your library in my project.. I have developed the client program where it is able to connect to the server which is developed in java.. Also able to send my message to server over the webscoket.
The problem is when ethernet cable is removed from the server side, their the onerror method is called & their he is closing the webscoket & recreating it.
But from the client side it is getting blocked at libwsclient_send() ;
How can I come over from this blocking call like what we use select() & poll() for linux socket, instead of blocking the whole application.
The text was updated successfully, but these errors were encountered: