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
ehouse
e2c2486f71
add support for relay for use by NAT'd/firewalled devices: cellphones.
...
Include cookie users will agree on on for relay rendevouz, and
sender/receiver IDs for when there are >2 devices in game. Supports
games between linux clients now, but needs a lot more work.
2005-03-06 17:56:34 +00:00
ehouse
6b7e2a9d53
HACK: server must ping relay or it can't be contacted
2005-03-06 17:51:18 +00:00
ehouse
c0f3adcfc4
cleanup; add debugging info for state changes
2005-03-06 17:49:37 +00:00
ehouse
5e184841d2
add symrsock; begin separating DEBUG and non- targets
2005-03-03 15:31:11 +00:00
ehouse
1e68d6826d
open socket for incomming, and provide callback to get incomming data
...
to comms. Doesn't work yet, likely because of firewall issues, so
simple UDP may not be the answer.
2005-03-03 15:29:59 +00:00
ehouse
bc7f858615
first checked in. Untested since I can't get packets to the device
...
from outside the carrier's firewall.
2005-03-03 15:28:24 +00:00
ehouse
54fce74a1f
cleanup
2005-03-03 15:26:19 +00:00
ehouse
9d87b3f3d1
open socket for incomming, and provide callback to get incomming data
...
to comms. Doesn't work yet, likely because of firewall issues, so
simple UDP may not be the answer.
2005-03-03 15:24:53 +00:00
ehouse
92adb68b3f
add sym_util_listenPortChange
2005-03-03 02:17:46 +00:00
ehouse
cc630a33bc
turn on BEYOND_IR
2005-03-02 15:01:47 +00:00
ehouse
9d01ed911c
remove define that should be passed in as -D
2005-03-01 13:55:58 +00:00
ehouse
0db822e82a
add socket-related libs
2005-03-01 13:54:50 +00:00
ehouse
4c4c49c7b4
SetActive call required
2005-03-01 13:53:41 +00:00
ehouse
e7fb221892
initial null addr rec is normal; deal with it
2005-03-01 01:14:34 +00:00
ehouse
da6a79693f
add a bunch of methods toward actually sending something.
2005-03-01 01:13:05 +00:00
ehouse
0d8993f90e
add a bunch of logging, temporarily, since this is often where
...
resource problems show themselves
2005-03-01 01:11:58 +00:00
ehouse
f099cfaa69
add a bunch of ivars and methods toward actually sending something.
2005-03-01 01:10:30 +00:00
ehouse
1b86aabcf1
cleanup
2005-03-01 01:08:06 +00:00
ehouse
b31fe271f7
add clean_state target
2005-02-27 20:09:05 +00:00
ehouse
bc6ec1989b
wrong format string descriptor
2005-02-27 20:08:31 +00:00
ehouse
c999d79616
passing wrong name to open
2005-02-27 20:07:05 +00:00