ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

tcpsvcs.h File Reference
#include <stdio.h>
#include <winsock2.h>
#include <tchar.h>
#include <time.h>

Go to the source code of this file.

Data Structures

struct  PSERVICES

Defines

#define _swprintf   swprintf
#define LOG_FILE   1
#define LOG_EVENTLOG   2
#define LOG_ERROR   4
#define LOG_ALL   (LOG_FILE | LOG_EVENTLOG | LOG_ERROR)
#define ECHO_PORT   7
#define DISCARD_PORT   9
#define DAYTIME_PORT   13
#define QOTD_PORT   17
#define CHARGEN_PORT   19
#define NUM_SERVICES   5
#define CS_TIMEOUT   1000

Functions

BOOL InitLogging (VOID)
VOID UninitLogging (VOID)
VOID LogEvent (LPCWSTR lpMsg, DWORD errNum, DWORD exitCode, UINT flags)
DWORD WINAPI StartServer (LPVOID lpParam)
BOOL ShutdownConnection (SOCKET Sock, BOOL bRec)
DWORD WINAPI ChargenHandler (VOID *sock_)
DWORD WINAPI DaytimeHandler (VOID *sock_)
DWORD WINAPI EchoHandler (VOID *sock_)
DWORD WINAPI DiscardHandler (VOID *sock_)
DWORD WINAPI QotdHandler (VOID *sock_)

Variables

volatile BOOL bShutdown
volatile BOOL bPause

Generated on Sun May 27 2012 04:44:45 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.