#ifndef _LIB_HEADER_H_ #define _LIB_HEADER_H_ /* global */ #include #include #include #include #include /* sys */ #include #include /* socket */ #include // close #include #include // getaddrinfo, getnameinfo #include #include "debug.h" #include "data.h" /* vars */ #define SRV_HOST "localhost" #define TCP_PORT 4444 #define UDP_PORT 4444 #define MAX_BUF_LEN 512 #define MAX_TCP_THR 10 #define MAX_UDP_THR 10 #define maxHostLen 64 #define maxPortLen 6 #endif