-->
Page 3 of 4

Re: WebSocket Server ASYNC

PostPosted: Fri Nov 17, 2017 12:10 pm
by Josep112
I have nothing on the javascript side, I thought using the esp server side with async this problem would be solved, what do you suggest to solve this?

Re: WebSocket Server ASYNC

PostPosted: Fri Nov 17, 2017 12:47 pm
by Pablo2048
Well - the client side (javascript) starts connection to the websocket right? So it is also responsible for reconnecting (IMHO it's obvious - how do you think that restarted ESP will connect to previously connected clients). Did you try to do some searching for how to handle websockets?

Re: WebSocket Server ASYNC

PostPosted: Sat Nov 18, 2017 12:23 pm
by Josep112
Yes I tried to search for websockets but without success?

Re: WebSocket Server ASYNC

PostPosted: Sat Nov 18, 2017 12:43 pm
by Pablo2048
Sorry, but this is nonsense - how exactly your search looks like? Try to use google for example with "how to handle websocket disconnect"...