Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does it reconnect when the connection breaks? Does it keep track of missing packets? Are status and errors passed on to the caller?


> Does it reconnect when the connection breaks? Does it keep track of missing packets?

Isn't this something tcp itself does? So any protocol on top of tcp would inherit the same.

If the client goes offline for longer durations, they should attempt to reconnect after coming online.


The fact is that WebSocket connections tend to break. Keeping a stable connection requires programmer effort.

See this comment that someone posted here today:

https://news.ycombinator.com/item?id=29653600




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: