Commit Graph

2383 Commits (326b3aa66a5c615a5a52cb2f6752bdb9b1ea317e)

Author SHA1 Message Date
rubidium 293d8ba826 (svn r8000) -Codechange: drop UDP packets when their internal size does not match the received size. If that is the case, the packet was not received in one piece (or got somehow mangled with another packet), which will cause us to drop the packet later on because we are (for example) trying to read beyond the end of the packet. 18 years ago
Darkvater 35ea3335ce (svn r7984) -Fix: out-of-bounds read access on _clients array (Quark) 18 years ago
Darkvater 5acbc88ee1 (svn r7984) -Fix: out-of-bounds read access on _clients array (Quark) 18 years ago
rubidium acdeae8cc8 (svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used to test the new masterserver) 18 years ago
rubidium 432ea5bbd6 (svn r7932) -Fix (r7931): committed a few files too much :( (the ones I used to test the new masterserver) 18 years ago
rubidium 2a596e09f1 (svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations. 18 years ago
rubidium 8d41fe225e (svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations. 18 years ago
rubidium 3f3af614a4 (svn r7888) -Change: add documentation about the 'on-the-wire' structure of the network game information request and reply packets. 18 years ago
rubidium 8ce23a5881 (svn r7888) -Change: add documentation about the 'on-the-wire' structure of the network game information request and reply packets. 18 years ago
truelight 82efaa7469 (svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking 18 years ago
truelight 27ccf59460 (svn r7882) -Fix: OS2 is defined as UNIX too, but not for networking 18 years ago
rubidium 5e4c157282 (svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket directly. 18 years ago
rubidium 7b8032d6d4 (svn r7847) -Codechange: use NetworkUDPClose instead of calling closesocket directly. 18 years ago
rubidium e534f747b5 (svn r7836) -Codechange: some constness for network/core. 18 years ago
rubidium 73079f83bc (svn r7836) -Codechange: some constness for network/core. 18 years ago
rubidium 2a2020c34c (svn r7834) -Codechange: cleanup the includes of network/core a little; include headers in headers when the header needs types/constants defined in them. 18 years ago
rubidium b2f85eb044 (svn r7834) -Codechange: cleanup the includes of network/core a little; include headers in headers when the header needs types/constants defined in them. 18 years ago
rubidium 35b7e0a1b8 (svn r7833) -Fix (r7829): forgot to add debug.h to the includes. 18 years ago
rubidium bfe4dcbc39 (svn r7833) -Fix (r7829): forgot to add debug.h to the includes. 18 years ago
rubidium 5e276359a4 (svn r7830) -Codechange: let NetworkCoreInitialize return a bool, so we have to set _network_available only once. 18 years ago
rubidium 85d1768b34 (svn r7830) -Codechange: let NetworkCoreInitialize return a bool, so we have to set _network_available only once. 18 years ago
rubidium b722317116 (svn r7829) -Codechange: move the network (core) initialization/shutdown functions into network/core, so the can be reused in the masterserver_updater. 18 years ago
rubidium 627ebe8430 (svn r7829) -Codechange: move the network (core) initialization/shutdown functions into network/core, so the can be reused in the masterserver_updater. 18 years ago
rubidium 72b2b15cbd (svn r7825) -Codechange: make NetworkUDPClose close a single UDP socket. Use NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose). 18 years ago
rubidium ae9750e69b (svn r7825) -Codechange: make NetworkUDPClose close a single UDP socket. Use NetworkUDPStop to close all opened udp sockets (those were called NetworkUDPClose). 18 years ago
rubidium 81235fc16b (svn r7821) -Fix: be more strict about the socket from where packets arrive. Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc. 18 years ago
rubidium 6851608c00 (svn r7821) -Fix: be more strict about the socket from where packets arrive. Do not accept requests about the game server on the master/client socket, do not accept master server acks on the client/server socket, etc. 18 years ago
rubidium 525118c7b3 (svn r7818) -Fix (r7751): wrote some data to the wrong network packet. 18 years ago
rubidium 6edd50e722 (svn r7818) -Fix (r7751): wrote some data to the wrong network packet. 18 years ago
bjarni 9db571c6db (svn r7767) -Fix r7751: [OSX] nameclash in includes. ALIGN was defined in both a library and macros.h
we undefines the library one since we don't need that one anyway
18 years ago
bjarni e13f5c19c1 (svn r7767) -Fix r7751: [OSX] nameclash in includes. ALIGN was defined in both a library and macros.h
we undefines the library one since we don't need that one anyway
18 years ago
rubidium 013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago