ehouse
12b2828d0d
use system APIs to find stuff in app directory rather than hard coding
...
path. Use system apis to find uniquie file names for games.
2005-03-26 03:25:44 +00:00
ehouse
1edc549adf
use c: drive, not z:, for uniformity with native version
2005-03-26 03:16:55 +00:00
ehouse
e3b319f341
don't use null comms
2005-03-25 13:41:18 +00:00
ehouse
1ec9e7b851
add cmd to lock/unlock main mutex
2005-03-25 03:24:00 +00:00
ehouse
7a6a5df437
use new stack-based lock
2005-03-25 03:21:16 +00:00
ehouse
28c200bcaa
first checked in. works
2005-03-25 03:19:03 +00:00
ehouse
3e281299ed
check for null comms before using
2005-03-25 03:13:10 +00:00
ehouse
99f2804141
don't instantiate comms unless it'll be used. Internally it has no
...
idea it's not supposed to connect to relay otherwise.
2005-03-25 03:11:54 +00:00
ehouse
f17a3bec58
add mutexes; general improvements
2005-03-25 02:59:44 +00:00
ehouse
9fb0b2691d
first checked in
2005-03-25 02:59:10 +00:00
ehouse
3631b68fa8
let socket server know how many connections to expect
2005-03-23 05:48:11 +00:00
ehouse
49d95b580a
fix shutdown panic by disposing fonts
2005-03-23 05:47:19 +00:00
ehouse
d4edf4d446
don't kill socket when client connects before server
2005-03-21 05:30:55 +00:00
ehouse
95772d3ad1
remove null-dereference when socket closed by two threads
2005-03-21 05:30:12 +00:00
ehouse
94df6e022c
too much logging
2005-03-21 05:29:37 +00:00
ehouse
4c871a5a8a
"dead" is not a option for players
2005-03-21 05:29:08 +00:00
ehouse
1973ce72ba
load and save remote/local field
2005-03-21 05:28:27 +00:00
ehouse
93d4c1d739
display remote players names in [] on scoreboard
2005-03-20 21:06:23 +00:00
ehouse
7de9b6eb2c
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
1490fe9fea
define XP_LD
2005-03-20 21:03:18 +00:00
ehouse
2056f20002
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
29ca361020
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
88663b415a
move unused var
2005-03-20 19:49:08 +00:00
ehouse
78cfbbf0d4
wins binary dir name changed
2005-03-20 19:48:14 +00:00
ehouse
015c2fbb5d
resend messages menu item
2005-03-20 19:47:47 +00:00
ehouse
e4ca798dfd
MakeSimpleStream needs channelno param
2005-03-20 19:47:07 +00:00
ehouse
9eb9d3ab35
add XP_LD to correctly log 32-bit vals
2005-03-20 19:46:20 +00:00
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