00001 // stdafx.h : include file for standard system include files, 00002 // or project specific include files that are used frequently, but 00003 // are changed infrequently 00004 // 00005 00006 #define _WIN32_WINNT 0x05000 00007 #pragma once 00008 00009 /* 00010 // Modify the following defines if you have to target a platform prior to the ones specified below. 00011 // Refer to MSDN for the latest info on corresponding values for different platforms. 00012 #ifndef WINVER // Allow use of features specific to Windows XP or later. 00013 #define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows. 00014 #endif 00015 00016 #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. 00017 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. 00018 #endif 00019 00020 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. 00021 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. 00022 #endif 00023 00024 #ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later. 00025 #define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE. 00026 #endif 00027 00028 //#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 00029 // Windows Header Files: 00030 */ 00031 00032 #include <winsock2.h> 00033 #pragma comment(lib, "ws2_32.lib") 00034 00035 00036 00037 00038 // TODO: reference additional headers your program requires here