WIP: rewrite the network stack to use libevent

This commit is contained in:
2022-03-09 21:30:51 +02:00
parent d2f43a8620
commit 64596d344c
43 changed files with 415 additions and 2149 deletions

View File

@ -4,8 +4,8 @@
#define WORD_MAX 0xffff
enum EMisc
{
MAX_HOST_LENGTH = 15,
IP_ADDRESS_LENGTH = 15,
MAX_HOST_LENGTH = 253,
IP_ADDRESS_LENGTH = INET6_ADDRSTRLEN > INET_ADDRSTRLEN ? INET6_ADDRSTRLEN : INET_ADDRSTRLEN,
LOGIN_MAX_LEN = 30,
PASSWD_MAX_LEN = 16,
PLAYER_PER_ACCOUNT = 4,

View File

@ -4,5 +4,4 @@
#define _IMPROVED_PACKET_ENCRYPTION_ // <20><>Ŷ <20><>ȣȭ <20><><EFBFBD><EFBFBD>
//#define __AUCTION__
#define __PET_SYSTEM__
#define __UDP_BLOCK__
#endif