Commit graph

9 commits

Author SHA1 Message Date
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
1785ce2fc0 Add game name to handshake and formalise handshake format 2015-01-03 20:04:31 +00:00
mdiluzio
b34b933dcd Pull base netcode functions out into net files 2015-01-02 19:51:14 +00:00
mdiluzio
b4240cf1c8 pull in very simple client/server demo code
inspired by http://www.linuxhowtos.org/C_C++/socket.htm
2015-01-02 15:13:05 +00:00
mdiluzio
ca5526b2b7 Add base files for net code 2015-01-02 13:55:23 +00:00