17#define LOG_ALL (LOG_FILE | LOG_EVENTLOG | LOG_ERROR)
22#define DAYTIME_PORT 13
24#define CHARGEN_PORT 19
27#define CS_TIMEOUT 1000
LPTHREAD_START_ROUTINE lpService
struct _Services * PSERVICES
DWORD WINAPI ChargenHandler(VOID *sock_)
DWORD WINAPI QotdHandler(VOID *sock_)
DWORD WINAPI DiscardHandler(VOID *sock_)
DWORD WINAPI DaytimeHandler(VOID *sock_)
VOID LogEvent(LPCWSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
struct _Services SERVICES
DWORD WINAPI StartServer(LPVOID lpParam)
DWORD WINAPI EchoHandler(VOID *sock_)
BOOL ShutdownConnection(SOCKET Sock, BOOL bRec)
DWORD(WINAPI * LPTHREAD_START_ROUTINE)(LPVOID)