Commit graph

12 commits

Author SHA1 Message Date
mdiluzio
0ead12c7dd Huge refactor, pulling server and local out into their own binaries 2015-01-10 16:55:30 +00:00
Marc Di Luzio
7811daa78b Merge branch 'net' of https://github.com/mdiluz/ttrts into net 2015-01-07 12:40:44 +00:00
Marc Di Luzio
c51119c3e2 Add TTRTS: Prefix to output 2015-01-07 12:40:41 +00:00
3291bf126e Compare write result correctly with 0
Fixes client sending of orders
2015-01-07 12:39:27 +00:00
mdiluzio
1c97177956 Major cleanup of client code, extracting various functionality 2015-01-04 13:09:37 +00:00
mdiluzio
3ed25cd37f Fix up all logging output
Remove debug logging
Use cerr or clog in the correct places
refactor a few more functions
2015-01-04 11:59:58 +00:00
mdiluzio
b141314434 Some more refactoring with additional comments
Server now performs handshake instantly
2015-01-04 11:22:54 +00:00
mdiluzio
5c8666d4fb More refactoring by pulling code out of client and server files 2015-01-04 11:10:08 +00:00
mdiluzio
4055d85d99 Use new fatal_error and fatal_perror functions for errors 2015-01-03 22:30:52 +00:00
mdiluzio
18cfcff264 Improve both client and server code to account for END of messages, allowing for incomplete packets with TCP 2015-01-03 18:55:44 +00:00
mdiluzio
b34b933dcd Pull base netcode functions out into net files 2015-01-02 19:51:14 +00:00
mdiluzio
ca5526b2b7 Add base files for net code 2015-01-02 13:55:23 +00:00