discord-rpc/src
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
..
backoff.h clang-format I suppose 2017-11-10 09:59:51 -08:00
CMakeLists.txt add WARNINGS_AS_ERRORS cmake option (#176) 2018-05-10 17:46:11 -07:00
connection.h track open/close state in connection, disconnect on read error, clarify error codes a little 2017-07-31 15:38:12 -07:00
connection_unix.cpp Improve handling of disconnects and reconnects (#228) 2018-11-16 10:41:49 -08:00
connection_win.cpp clang-format I suppose 2017-11-10 09:59:51 -08:00
discord_register_linux.cpp Fix mismatched signs in comparison after b44defe (#209) 2018-07-30 12:50:49 -07:00
discord_register_osx.m Fix buffer overflows in RegisterCommand on mac (#99) 2018-01-05 16:59:44 -08:00
discord_register_win.cpp Apply formatting (#178) 2018-05-14 09:25:17 -07:00
discord_rpc.cpp Improve handling of disconnects and reconnects (#228) 2018-11-16 10:41:49 -08:00
dllmain.cpp Provide fake DllMain declaration to fix missing-declarations warning (#130) 2018-02-15 14:36:31 -08:00
msg_queue.h Syntax change to avoid gcc 4.8 segfaulting (#162) 2018-04-04 10:00:24 -07:00
rpc_connection.cpp Flatten the condition to get rid of empty branch (#247) 2018-11-06 14:48:59 -08:00
rpc_connection.h Adding user object to READY event (#159) 2018-04-16 10:25:44 -07:00
serialization.cpp Apply formatting (#178) 2018-05-14 09:25:17 -07:00
serialization.h Apply formatting (#178) 2018-05-14 09:25:17 -07:00