lotodore
556eede4b9
Updated the protocol documentation.
2007-03-28 16:09:56 +00:00
lotodore
2fd204592b
First version of the icon for Win32.
2007-03-28 16:01:38 +00:00
lotodore
ab28f22913
Added network protocol documentation.
2007-03-22 00:16:11 +00:00
lotodore
62e72617ba
When creating a network game, a client is also started.
...
Network errors are handled globally.
Fixed last network thread issue by using a notification queue, should work fine now.
2007-03-20 14:05:16 +00:00
lotodore
804c7eaaa2
Fixed design problem: Thread objects can now be created in any context.
...
Sender thread output queue is now limited.
Server thread now terminates correctly.
Now cloning packets when sending them to multiple recipients.
Fixed one thread issue - GameStart still needs to be made thread safe.
2007-03-20 11:56:30 +00:00
lotodore
ef10602d5c
Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated).
2007-03-20 02:20:50 +00:00
lotodore
ca354dce7f
Started to implement server state engine.
2007-03-13 23:27:17 +00:00
lotodore
f5289a6fcf
Added helper class for receiving data. Modified sender thread to support sending partial packets. Prepared abstractions for server state machine.
2007-03-13 02:23:12 +00:00
lotodore
cb3c17573d
That thread_specific_ptr was rubbish...
2007-03-02 00:34:50 +00:00
lotodore
b7790e94ff
2007-03-02 00:04:18 +00:00
lotodore
a046ba0e95
2007-02-25 23:33:55 +00:00
lotodore
d4855a2ca2
Added simple server. Added session establishment (only test code). Added sender thread.
2007-02-25 23:16:26 +00:00
lotodore
c7fc79e6ff
2007-02-25 20:23:01 +00:00
lotodore
07c08c0599
Linux fixes.
2007-02-25 20:06:24 +00:00
lotodore
a2134c3fa5
Additional include files for linux.
2007-02-25 19:56:58 +00:00
lotodore
9d7924c840
2007-02-25 19:41:49 +00:00
lotodore
0246fae4cb
2007-02-25 19:40:24 +00:00
lotodore
82cf963f0a
Connect is now non-blocking. Fixed problem in resolver thread where socket was closed.
2007-02-25 18:22:19 +00:00
lotodore
d63588f54b
Name resolution can be aborted. Fixed bug in socket_set_port.
2007-02-25 17:08:58 +00:00
lotodore
6e7f6dfdbe
Cleanup of the joinnetworkgamedialog. Thread creation/termination is now done in main window. Added code to locate memory leaks.
2007-02-19 00:39:44 +00:00
lotodore
4e40f11f90
Made the callback work. Updated error messages.
2007-02-18 19:16:34 +00:00
lotodore
fe52316be5
Fixed a bug in the thread implementation. A lock cannot be used within two different threads.
2007-02-18 17:48:36 +00:00
lotodore
389252aac2
Fixed timeout calculation for sleep. Added missing call to socket_startup/socket_cleanup.
2007-02-18 16:04:00 +00:00
lotodore
793ea40f9b
Updated make file. Should work with Win32 and Linux now.
2007-02-18 15:14:59 +00:00
lotodore
36270e4b88
Fixed gui wrapper. Fixed client data compiler errors.
2007-02-18 15:13:55 +00:00
lotodore
a4eefbe18b
ClientThread is now created in Session.
2007-02-18 13:45:56 +00:00
lotodore
9ec3e020dd
Cleaned up the code. Added client exception for error handling.
2007-02-18 11:26:57 +00:00
lotodore
e6c6fa0eee
Renamed callback operations.
2007-02-18 01:39:06 +00:00
lotodore
ca6adbb295
Added client callback interface.
2007-02-18 01:16:18 +00:00
lotodore
fc25ae5a8b
Added GUI as parameter for client thread constructor. Fixed linux header for getaddrinfo.
2007-02-18 00:10:26 +00:00
lotodore
296399f166
Added errno include for linux.
2007-02-18 00:00:25 +00:00
lotodore
592863ecf5
Client thread test version. Ready to connect.
2007-02-17 23:44:45 +00:00
lotodore
b6923b8d38
First rough outline of the network client thread. More to be done soon.
2007-02-16 00:03:30 +00:00
lotodore
f0aa63667c
Added thread class (based on boost::thread). Clarified some commends in Win32 socket code.
2007-02-14 00:36:10 +00:00
lotodore
83804055d7
Implemented unicode-based name resolution.
2007-02-11 21:22:45 +00:00
lotodore
ad02d4572f
Added socket helper functions.
2007-02-08 00:19:40 +00:00
lotodore
2b454df7ce
Added code to create a config file path for win32. This code uses the "AppData" environment variable instead of the shell api call to prevent library dependencies. If the environment variable is not found, the current directory is used.
2007-01-21 01:06:38 +00:00
lotodore
ca296bf51d
Resolved namespace issue. Added debug/release directories to svnignore list.
2007-01-19 23:25:42 +00:00
lotodore
9df9b8eede
Removed C99 dynamic arrays for MSVC compatibility.
2007-01-19 23:23:25 +00:00