px_rs_config.h
来自「MMORPG游戏服务器端架构及函数」· C头文件 代码 · 共 92 行
H
92 行
#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 + =
减小字号Ctrl + -
显示快捷键?