📄 main.h
字号:
/*****************************************
created by zhouzhigang 2005.06.19
****************************************/
#ifndef MAIN_H
#define MAIN_H
#ifndef PPP_MAXMRU
#define PPP_MAXMRU 1500
#endif
#define MAX_SYS_ERR_ALLOW 3
#define TCPIP_KEEPALIVE 1
#define MAX_KEEPALIVE_ERR_ALLOW 3
/*
*We check the state of socket every 10 minutes
*/
#define MAX_KEEPALIVE_PERIOD 600000
/*
*the max time that we could wait for the packet
*return from server is 60 seconds
*/
#define MAX_SERVER_WATI_TIME 60000
/*define which connecting is default*/
typedef enum
{
TCP_CONNECT_DEFAULT= 0,
UDP_CONNECT_DEFAULT = 1,
STATE_UNKNOWN
}CONNECT_TYPE;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -