Florian Spieß dd47c7c66d Improve handling of disconnects and reconnects (#228)
* Check response 0 on disconnect

From recv(): The return value will be 0 when the peer has performed an orderly shutdown

* Add persistent presence and handlers

* Use buffer instead of raw struct

* Clear presence data on shutdown

* Remove CurrentPresence and add boolean instead

This removes the need for having 2 big buffers in favor of using a small boolean
2018-11-16 10:41:49 -08:00
..
2017-11-10 09:59:51 -08:00
2017-11-10 09:59:51 -08:00
2018-05-14 09:25:17 -07:00
2018-05-14 09:25:17 -07:00