Commit graph

10 commits

Author SHA1 Message Date
ehouse
d9826ae275 Add and handle disconnect message so a device can reuse its socket for
a new game.
2005-09-05 15:50:49 +00:00
ehouse
7bc8d22739 move typedef 2005-09-04 20:55:07 +00:00
ehouse
c6e9a747b8 new error code 2005-09-04 14:35:13 +00:00
ehouse
481febe807 add XWRELAY_OTHERCONNECT message 2005-09-03 18:32:12 +00:00
ehouse
429bcfce0c when one device is disconnected for heartbeat, tell others it's going
away.
2005-09-03 15:41:17 +00:00
ehouse
497b589558 add disconnect event and error codes 2005-09-03 06:46:03 +00:00
ehouse
da323ede86 loads of changes: get settings from config file; remove sockets and
kill crefs via state machine, and protect access to a cref so it can
die without another thread being in it; do timers via timeout to
poll() rather than interrupt (and integrate into state machine);
detect when all players are present and change state so new
connections on that cookie will get a new cref.
2005-09-02 06:56:34 +00:00
ehouse
684a0089d6 tweaks to logging and adding some message enums 2005-08-08 23:33:51 +00:00
ehouse
a26549afa9 Pass protocol version code with connect request, and return error if
it isn't what relay can handle.  Report error to user.
2005-07-06 01:36:52 +00:00
ehouse
12b0c74790 first checked in. 2005-03-19 22:16:49 +00:00