ehouse
4d2ca032d2
add ResetState
2005-03-20 19:45:43 +00:00
ehouse
d3b22835aa
add relay/ dir; tweak for debugging inside M$VS
2005-03-20 19:45:19 +00:00
ehouse
b18b49b042
add some wins temp files
2005-03-20 19:44:07 +00:00
ehouse
3ee16b6cd8
fix to build in standalone case
2005-03-20 19:43:00 +00:00
ehouse
356ede1a73
add XP_LD so symbian can long 32-bit vals
2005-03-20 19:41:30 +00:00
ehouse
d7e834f87e
fix bad assert
2005-03-20 15:01:59 +00:00
ehouse
63187f852a
add cookie field
2005-03-19 22:30:39 +00:00
ehouse
7bdfa09406
Connect using address passed in. Other cleanup around relay use, name
...
changes, etc.
2005-03-19 22:28:55 +00:00
ehouse
da224ee355
tweak CIdle timer use to handle incoming packets so these don't have
...
to be handled from within socket handler's RunL. Other cleanup around
relay use, name changes, etc.
2005-03-19 22:27:59 +00:00
ehouse
345d82765c
tweak CIdle timer use to handle incoming packets so these don't have
...
to be handled from within socket handler's RunL.
2005-03-19 22:21:55 +00:00
ehouse
bcd3a1ba25
add cookie field
2005-03-19 22:20:16 +00:00
ehouse
6e18560e62
param name fix
2005-03-19 22:19:32 +00:00
ehouse
e709c2b45d
-I relay/
2005-03-19 22:17:23 +00:00
ehouse
12b0c74790
first checked in.
2005-03-19 22:16:49 +00:00
ehouse
8202b041b3
first checked in. primative, but works.
2005-03-19 22:14:27 +00:00
ehouse
5d3876fa7b
total rewrite. New protocol eliminates need to store and forward
...
messages: clients connect, then messages are passthru only. Add
control port. Use stl map and vector to remove limit on number of
connections. Also removed synchronization, which need to be re-added.
2005-03-19 22:13:43 +00:00
ehouse
02588f6244
add two new .cpp files
2005-03-19 22:09:03 +00:00
ehouse
3d54ec402a
fix and cleanup linux client to move to using tcp. Add the ability to
...
deal with socket dying and (maybe) being replaced. Only connect on
demand now, when first packet's ready to go.
2005-03-19 22:07:53 +00:00
ehouse
820664d212
add XP_STRNCPY
2005-03-19 22:06:23 +00:00
ehouse
90fe785790
Wrapping protocol around standard comms stuff that talks to the relay.
...
Revert previous relay-related changes.
2005-03-19 22:01:38 +00:00
ehouse
4d454a8fff
remove gross connectRelay hack. There's now a wrapping protocol that
...
talks to the relay entirely inside comms.c.
2005-03-19 21:48:47 +00:00
ehouse
7d84a2654f
added '-I relay/'
2005-03-19 21:47:18 +00:00
ehouse
040df7f128
listen port goes away; add separate union member for relay addressing
2005-03-19 21:46:51 +00:00
ehouse
9c3a8dc228
util_listenPortChange gone
2005-03-19 21:45:21 +00:00
ehouse
083104a49f
nuke logging that was polluting ncurses screen
2005-03-19 21:44:35 +00:00
ehouse
2f8320cba8
add stringFromStreamHere()
2005-03-19 21:44:09 +00:00
ehouse
20f96a658d
catch up with API change
2005-03-15 15:29:17 +00:00
ehouse
cb674f16ac
fix problems with clients in networked games making a move after the
...
game should end: check number of passes and that all players still
have tiles before running robot.
2005-03-15 15:18:58 +00:00
ehouse
f15bae46d2
add assert
2005-03-15 15:13:52 +00:00
ehouse
3b18ba9605
correct spelling
2005-03-15 06:27:21 +00:00
ehouse
89c1ba92c3
move playerNum into dsi so can be used in formatting score
2005-03-15 06:26:58 +00:00
ehouse
90cca0c92b
use compiler flags that ease debugging
2005-03-15 06:22:48 +00:00
ehouse
5d9fb3e326
add model_recentPassCountOk
2005-03-15 03:31:52 +00:00
ehouse
db8a6d0eb2
move playerNum into dsi so can be used in formatting score; show
...
most recent turn (like symbian 80)
2005-03-15 03:29:37 +00:00
ehouse
670f5d8673
move playerNum into dsi so can be used in formatting score
2005-03-15 03:27:24 +00:00
ehouse
f280b6755d
api change
2005-03-12 05:33:40 +00:00
ehouse
955f2180db
deal with tcp streams the same in curses as on gtk. Both work now
...
with the relay.
2005-03-12 05:33:30 +00:00
ehouse
4bb87a0a02
comment out overly-verbose logging
2005-03-09 15:19:40 +00:00
ehouse
365a57c8fb
save hostIDs as part of comms; add logging
2005-03-09 15:18:17 +00:00
ehouse
7f2819ae8e
add util_addrChange
2005-03-09 15:14:10 +00:00
ehouse
40ac233a92
fix misspelling
2005-03-09 15:12:57 +00:00
ehouse
fec47fb68d
remove unused file
2005-03-09 15:09:24 +00:00
ehouse
23bcb95a1c
add sym_util_addrChange
2005-03-09 15:06:14 +00:00
ehouse
442c8df1c6
fold reading into send socket. Now receives packets from relay,
...
though things break down after a few moves.
2005-03-09 15:04:28 +00:00
ehouse
36b4b593e7
fold reading into send socket
2005-03-09 14:51:11 +00:00
ehouse
81583e30b5
merge from palm 1.4 branch changes to allow arm-only, etc builds from
...
commandline.
2005-03-08 05:36:33 +00:00
ehouse
e00c438d18
fix conflict with type from Palm headers; fix for non-BEYOND_IR case.
2005-03-08 05:33:38 +00:00
ehouse
131498728c
first checked in
2005-03-06 18:30:59 +00:00
ehouse
2f8efe7a6a
first checkin. Works about half the time for one or two games at a
...
time. Very fragile.
2005-03-06 18:27:16 +00:00
ehouse
1fba8494f3
Replace UDP-based messaging with TCP. Stream protocol says distinct
...
message is length plus data. Use non-deprecated gtk select-like
function. With these changes can play full games through the relay on
gtk. Untested on ncurses but probably broken.
2005-03-06 18:07:00 +00:00