Files
2026-01-23 08:39:07 +08:00

34 lines
673 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
// 静态库定义(必须在包含HPSocket之前)
#define HPSOCKET_STATIC_LIB
// SSL 支持定义(必须在包含HPSocket之前)
#define _NEED_SSL
#define _SSL_SUPPORT
// 防止winsock.h被包含使用winsock2.h
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
// 标准库
#include <iostream>
#include <string>
#include <locale>
#include <conio.h>
#include <tchar.h>
#include <vector>
#include <filesystem>
#include <sstream>
#include <fstream>
// Windows 头文件
#include <windows.h>
#include <winsock2.h>
// HP-Socket 头文件
#include "../../../Include/HPSocket/HPSocket.h"
#include "../../../Include/HPSocket/HPSocket-SSL.h"