author | terom |
Thu, 06 Nov 2008 22:23:59 +0000 | |
changeset 15 | 7710cce889b2 |
child 21 | 32c6cc55256a |
permissions | -rw-r--r-- |
#ifndef NETWORK_CONFIG_HH #define NETWORK_CONFIG_HH #ifndef WIN32 #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <sys/time.h> #include <unistd.h> #else #include <winsock2.h> #include <windows.h> typedef int socklen_t; #endif const std::string NETWORK_PORT_STR = "9338"; const uint16_t NETWORK_PACKET_MAX = 1280; #endif /* NETWORK_CONFIG_HH */