Went over netpacket.cpp - additional checks, check function in base class. More restrictive concerning size of packets.

This commit is contained in:
lotodore
2007-07-29 23:45:10 +00:00
parent 212dbd3b9a
commit 5d13dd7803
5 changed files with 233 additions and 265 deletions
+1
View File
@@ -40,6 +40,7 @@
#define ERR_SOCK_CONN_EXISTS 17
#define ERR_SOCK_INVALID_PACKET 18
#define ERR_SOCK_INVALID_STATE 19
#define ERR_SOCK_INVALID_TYPE 20
// The following errors are game errors.
#define ERR_NET_VERSION_NOT_SUPPORTED 101
#define ERR_NET_SERVER_FULL 102