xwords/xwords4/relay
Eric House f2c4c82129 a shot at no-conn connecting
Ideally the comms module wouldn't go through its connecting routine in
order to join a game. To that end I added a join() method to relay.py
and code to call it. Joins happen (pairing games, starting new ones,
etc.), but after that communication doesn't. First part of fixing that
would be to make cookieID persistent and transmit it back with the rest
of what join sends (since it's used by all the messages currently sent
in a connected state), but I suspect there's more to be done, and even
that requires a fair number of changes on the relay side. So all that's
wrapped in #ifdef RELAY_VIA_HTTP (and turned off.)
2017-11-10 21:34:02 -08:00
..
scripts a shot at no-conn connecting 2017-11-10 21:34:02 -08:00
.gitignore ignore valgrind core files 2013-11-14 21:48:06 -08:00
addrinfo.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
addrinfo.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
cidlock.cpp printf -> catf missed because in ifdef 2013-10-09 20:40:21 -07:00
cidlock.h allow a thread to get a cidlock it already has. 2013-06-17 07:26:54 -07:00
configs.cpp update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
configs.h up copyright 2009-07-30 12:54:17 +00:00
cref.cpp store message first, remove on ack 2017-10-25 05:51:45 -07:00
cref.h store message first, remove on ack 2017-10-25 05:51:45 -07:00
crefmgr.cpp fix failure of http apps to ack relay 2017-10-28 16:29:04 -07:00
crefmgr.h fix failure of http apps to ack relay 2017-10-28 16:29:04 -07:00
ctrl.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
ctrl.h add missing lock(); track and display uptime of daemon child as well as parent 2009-07-31 12:56:04 +00:00
dbmgr.cpp fix failure of http apps to ack relay 2017-10-28 16:29:04 -07:00
dbmgr.h fix failure of http apps to ack relay 2017-10-28 16:29:04 -07:00
devid.h update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
devmgr.cpp rename printf -> catf; no other changes 2013-10-09 20:20:45 -07:00
devmgr.h cleanup 2013-09-05 07:53:47 -07:00
http.cpp get rid of mapping of socket->game_connection, which will not work 2013-01-12 16:09:24 -08:00
http.h serve http view from cached data and make cache refresh rate 2009-08-21 12:32:57 +00:00
lstnrmgr.cpp fix compile errors due to stricter compiler post debian upgrade 2013-05-29 06:36:54 -07:00
lstnrmgr.h add second class of socket to be listened on, meant for per-device 2010-08-12 06:42:33 -07:00
Makefile add more required debs 2017-11-03 18:07:12 -07:00
mlock.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
permid.cpp Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
permid.h Store start time as time_t rather than string. 2009-09-26 14:05:51 +00:00
querybld.cpp replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
querybld.h a more elegant way of building up params to pass to PQexecParams 2014-04-25 18:45:51 -07:00
rq.c fix compile warning. (Not really tested...it's a test app) 2015-07-01 06:35:47 -07:00
states.cpp update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
states.h update with all relay/ changes from gtk_multigame. This is what the 2013-02-04 06:08:39 -08:00
strwpf.cpp replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
strwpf.h replace overloaded method with diff-named one, avoiding call to wrong 2014-11-10 06:43:42 -08:00
timermgr.cpp give timers ids so can be tracked in logs 2013-06-22 05:56:27 -07:00
timermgr.h give timers ids so can be tracked in logs 2013-06-22 05:56:27 -07:00
tpool.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
tpool.h rather than invalidating socket in AddrRec when it's closed, add a 2013-06-21 06:05:26 -07:00
udpack.cpp rename printf -> catf; no other changes 2013-10-09 20:20:45 -07:00
udpack.h replace string_printf() with new class derived from std::string with 2013-09-02 13:17:42 -07:00
udpager.cpp change unsigned char to uint8_t (using sed) 2013-08-29 22:55:11 -07:00
udpager.h move timeout interval into config file; cleanup 2013-08-12 07:41:48 -07:00
udpqueue.cpp no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
udpqueue.h no more variables called socket; all are "sock" now. 2015-11-20 23:15:04 -08:00
xwrelay.conf_tmplate change port to live server's so recovery can be faster 2014-03-12 19:47:14 -07:00
xwrelay.cpp fix to compile with UDP packet logged 2017-11-04 09:27:33 -07:00
xwrelay.css Add an http interface (read-only web console). 2009-02-28 16:15:59 +00:00
xwrelay.h add and handle new INVITE message types. (This can safely be added to shipping relay.) 2015-07-10 23:25:06 -07:00
xwrelay.sh new columns required by relay.py's join() 2017-11-08 08:07:47 -08:00
xwrelay_priv.h change param names 2017-10-10 20:17:36 -07:00