ehouse
9f1d02c7cd
Byte-swap psm field to callback on ARM: now both client and host work. Move SDP-related constants out where linux can use too.
2007-11-03 22:04:06 +00:00
ehouse
0c146fb800
add const to a few formal param declarations
2006-10-15 13:53:17 +00:00
ehouse
a97631b7ca
Fix opening games and messages saved by last shipping version on Palm
...
by checking version and loading new fields conditionally. (Not yet
tested for current wince version.)
2006-10-05 01:17:03 +00:00
ehouse
35b3b7132a
Make formal param const; add initial value to relay-only field so
...
asserts don't fail b/c of uninitialized value; don't typedef array:
make array field of struct.
2006-09-14 01:25:40 +00:00
ehouse
975226cc4e
remove param from util_addrChange; add comms_getIsServer; save bt_addr
...
as part of comms.
2006-09-08 07:14:24 +00:00
ehouse
7d48f2e430
Put up BT device browser while user is picking connection method
...
rather than when trying to send for first time, then pass address
through from conns dialog to bt code.
2006-08-26 21:12:10 +00:00
ehouse
3c6405d0d1
First shot at bluetooth support (turned off in Makefile by default).
...
A full robot vs. robot game now works between two Treos. Added UI to
choose BT as transport mechanism, and added new send proc to establish
socket connection between host and guest. Works only for two devices:
no piconet yet. No error recovery, ability to quit game in middle,
start new game, etc.
2006-08-23 04:44:55 +00:00
ehouse
dcd31cd092
update email address in header comments: no code change
2006-01-08 01:25:02 +00:00
ehouse
2b58da4cdf
New scheme for accepting and limiting reconnections. Now device must
...
send player counts, local and expected. Based on these the relay
accepts connections, declares the game full and ready for message
forwarding, and decides whether to accept a reconnect.
2005-10-02 15:39:38 +00:00
ehouse
93534b268a
make transmitted vars smaller where possible; new relay identifying
...
scheme where cookie is used only to connect, and is replaced for
reconnects by a relay-generated name that's supposed to be unique
across all games on all relays; let relay assign non-servers' hostIDs
rather than doing 'em randomly; use hostIDs for comms-level protocol's
channelNo where possible to avoid tripping over duplicate messages
2005-10-01 16:01:39 +00:00
ehouse
cd8d18bd76
add a const
2005-07-30 01:48:17 +00:00
ehouse
30f1e9b6db
add const
2005-07-23 15:21:23 +00:00
ehouse
9d4bc009c0
name change
2005-07-06 00:58:20 +00:00
ehouse
d29698c1b0
put back functions that never should have been removed.
2005-06-27 05:45:28 +00:00
ehouse
2abb6fe77f
cleanup: make module-local functions static
2005-06-25 05:43:56 +00:00
ehouse
11c732ef7a
separate internalization of comms from call to connect to relay since
...
the first must finish before the caller will have a valid reference to
comms. call util_addrChange.
2005-04-03 17:00:59 +00:00
ehouse
1241c0fdfe
add comms_getInitialAddr
2005-04-03 02:48:50 +00:00
ehouse
040df7f128
listen port goes away; add separate union member for relay addressing
2005-03-19 21:46:51 +00:00
ehouse
40ac233a92
fix misspelling
2005-03-09 15:12:57 +00:00
ehouse
a17ed0d72f
keep hostname as well as IP address in CommsAddrRec
2005-01-31 03:31:50 +00:00
ehouse
6a57cef012
first checkin
2003-11-01 05:35:29 +00:00