for now seems to lack ability to link so I'm still loading procs by
name); don't close ConnMgr connection when phone stopped so can get
notified of further changes and needn't restart; on WM_ACTIVATE, put
full-screen mode in sync with prefs setting to fix crash where app is
launched while running and yields to prev running copy which then crashes
on exit on Treo700w (see recent checkin 2853).
addresses by name, to successfully bring up cellular connection for
rest of networking to use when it's down. This is a start: eventually
the stuff in connmgr.h (being added here) should be replaced by
support added to cegcc (including link info so the proc ptrs go away.)
Still to do: figure out how to detect when phone is turned on so can
try again without user needing to restart the app.
look for errors coming with FD_CONNECT message, look for FD_CLOSE
message, and inform relay when connection is lost so its reconnect
logic is triggered. This seems at least to handle the case where I
kill the relay mid-game.
read/writer, to provide connection status beside scoreboard (in area
outside that managed by code in common/). Simple letters now, it'll
be icons eventually.
replacing dedicated threads for read and write with non-blocking
sockets driven from the main window proc. So far it can do a
round-trip against the relay on win32, and compiles but isn't tested
on wince.
that win32 build can open games saved by previous version, but nothing
else (e.g. use of network or even dialogs to set up relay connection
parameters.)
connType and adding choice how to connect. Bt connect dialog is
invoked, but the fields won't be populated. Pass conn type into
socket constructor, assuming socket code doesn't change much to use BT
rather than TCP.
threads, reader and writer, on a single socket. With this checkin a
connect request reaches the relay and a response comes back and is
passed to and recognized by the common code. A full game should now
work, but hasn't been tried. Nor is there any handling of socket
errors, retries, etc.