Commit Graph
67 Commits
Author SHA1 Message Date
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 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 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 4e40f11f90 Made the callback work. Updated error messages. 2007-02-18 19:16:34 +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 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