ehouse
8b34f57bf9
don't kill socket when client connects before server
2005-03-21 05:30:55 +00:00
ehouse
dcebf5bc78
remove null-dereference when socket closed by two threads
2005-03-21 05:30:12 +00:00
ehouse
24690a2a10
too much logging
2005-03-21 05:29:37 +00:00
ehouse
f069c4c2dc
"dead" is not a option for players
2005-03-21 05:29:08 +00:00
ehouse
d82f467479
load and save remote/local field
2005-03-21 05:28:27 +00:00
ehouse
f78ebee08b
display remote players names in [] on scoreboard
2005-03-20 21:06:23 +00:00
ehouse
5eba6f5511
keep queue of incoming packets since new ones arrive before old can be
...
processed. With this fix a complete robot-vs-robot game works between
9300 and gtk version over relay.
2005-03-20 21:05:41 +00:00
ehouse
1f3d94998f
define XP_LD
2005-03-20 21:03:18 +00:00
ehouse
a02feee3b9
fix stream creation to include channelNo; correctly return success
...
from sym_send; fix to build in standalone case.
2005-03-20 19:55:49 +00:00
ehouse
d0441ee1e3
fix runl to reset after error so we'll try again, e.g. after first
...
using a hostname that doesn't resolve.
2005-03-20 19:52:21 +00:00
ehouse
105e5ed8ca
move unused var
2005-03-20 19:49:08 +00:00
ehouse
848552dfe4
wins binary dir name changed
2005-03-20 19:48:14 +00:00
ehouse
dd3222ddbd
resend messages menu item
2005-03-20 19:47:47 +00:00
ehouse
8181d03aac
MakeSimpleStream needs channelno param
2005-03-20 19:47:07 +00:00
ehouse
10ae6d1f1e
add XP_LD to correctly log 32-bit vals
2005-03-20 19:46:20 +00:00
ehouse
df68184819
add ResetState
2005-03-20 19:45:43 +00:00
ehouse
94b03dcd5d
add relay/ dir; tweak for debugging inside M$VS
2005-03-20 19:45:19 +00:00
ehouse
7559c87e1a
add some wins temp files
2005-03-20 19:44:07 +00:00
ehouse
290cb0b9da
fix to build in standalone case
2005-03-20 19:43:00 +00:00
ehouse
edceee12a8
add XP_LD so symbian can long 32-bit vals
2005-03-20 19:41:30 +00:00
ehouse
078ab48fa1
fix bad assert
2005-03-20 15:01:59 +00:00
ehouse
e6abaaea98
add cookie field
2005-03-19 22:30:39 +00:00
ehouse
6212e4379b
Connect using address passed in. Other cleanup around relay use, name
...
changes, etc.
2005-03-19 22:28:55 +00:00
ehouse
9b66f40d78
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
7503282e27
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
a8ab94d182
add cookie field
2005-03-19 22:20:16 +00:00
ehouse
e57f5e1ab2
param name fix
2005-03-19 22:19:32 +00:00
ehouse
261b03c5a5
-I relay/
2005-03-19 22:17:23 +00:00
ehouse
dc25eb9e35
first checked in.
2005-03-19 22:16:49 +00:00
ehouse
73104819bd
first checked in. primative, but works.
2005-03-19 22:14:27 +00:00
ehouse
50d8c1067b
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
ab6d11a32a
add two new .cpp files
2005-03-19 22:09:03 +00:00
ehouse
7d622f9484
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
02bc9178db
add XP_STRNCPY
2005-03-19 22:06:23 +00:00
ehouse
d6efb446d1
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
19b0d88a69
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
8eb4abac6f
added '-I relay/'
2005-03-19 21:47:18 +00:00
ehouse
fc6095255d
listen port goes away; add separate union member for relay addressing
2005-03-19 21:46:51 +00:00
ehouse
022fd1cb9d
util_listenPortChange gone
2005-03-19 21:45:21 +00:00
ehouse
272e66e635
nuke logging that was polluting ncurses screen
2005-03-19 21:44:35 +00:00
ehouse
af8602f63b
add stringFromStreamHere()
2005-03-19 21:44:09 +00:00
ehouse
70b45e11c5
catch up with API change
2005-03-15 15:29:17 +00:00
ehouse
dd8f2f92c5
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
2e0ee693bc
add assert
2005-03-15 15:13:52 +00:00
ehouse
38bd3d4528
correct spelling
2005-03-15 06:27:21 +00:00
ehouse
5e547eb8b0
move playerNum into dsi so can be used in formatting score
2005-03-15 06:26:58 +00:00
ehouse
13b55cfeab
use compiler flags that ease debugging
2005-03-15 06:22:48 +00:00
ehouse
26cd5c2d88
add model_recentPassCountOk
2005-03-15 03:31:52 +00:00
ehouse
912f53178b
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
36bba4024b
move playerNum into dsi so can be used in formatting score
2005-03-15 03:27:24 +00:00