📄 px_rs_config.h
字号:
#ifndef _PX_RS_CONFIG_
#define _PX_RS_CONFIG_
/* must been first include begin */
#include "..\ProjectX_Common\ProjectX_Copyright.h"
#include "..\ProjectX_Common\ProjectX_Common.h"
/* must been first include end */
/* std and common include */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <winsock2.h>
typedef struct tagAccept_Logic_List {
int ls_uid;
struct tagAccept_Logic_List * pNext;
}ACCEPT_LOGIC_LIST, * LPACCEPT_LOGIC_LIST;
typedef struct tagPx_RS_Config {
char name[MAX_SERVERNAME_LEN];
char version[MAX_VERSION_LEN];
char ip_to_status[MAX_IPADDRESS_LEN];
u_short port_to_satus;
char ip_to_client[MAX_IPADDRESS_LEN];
u_short port_to_client;
char ip_to_logic[MAX_IPADDRESS_LEN];
u_short port_to_logic;
int max_client_support;
int max_logic_server_support;
int client_recv_buf_len;
int client_send_buf_len;
int client_iocp_buf_len;
int logic_recv_buf_len;
int logic_send_buf_len;
int logic_iocp_buf_len;
int status_recv_buf_len;
int status_send_buf_len;
int status_iocp_buf_len;
BOOL auto_cls;
BOOL display_internal_version;
BOOL accept_internal_ip;
int num_client_thread;
int num_logci_thread;
int num_status_thread;
ACCEPT_LOGIC_LIST * plogic_list;
}PX_RS_CONFIG, * LPPX_RS_CONFIG;
#endif //_PX_RS_CONFIG_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -