https://toitlang.org/ logo
I think it's unusual to worry about these packets....
# general
f
I think it's unusual to worry about these packets. For example, the unsubscribe packet is a response to an unsubscribe request. The
SimpleClient
uses it to block on the
unsubscribe
method until the server has sent that packet. Practically speaking you rarely care for these packets. They are acknowledgements and not something you are supposed to act on. I'm not even sure you get a disconnect message when another client with the same id connects. I think the server is allowed to just drop your connection. The disconnect packet is normally a response to a disconnect request.