📄 constvar.h
字号:
#ifndef CONST_VAR_H#define CONST_VAR_H/*TODO*//*HTTP*/#define HttpPort 80 /* port */#define MaxHttpUrl 50 /*handle the http url max number */#define CHTTP_PORT 1111 /*console port*//*DNS*/#define DNSPort 53 #define MaxDNSUrl 50 #define CDNS_PORT 1112/*SMTP*/#define SMTPPort 25#define MaxSMTPUrl 50#define CSMTP_PORT 1113/*POP3*/#define POP3Port 110#define MaxPOP3Url 50#define CPOP3_PORT 1114#define SERV_ADDR "202.117.15.165" /*console address*/#define TIME_OUT 2 /* no block socket connect time out */#define CHECK_TIME_VAL 4.0 /* check http packet one time timeval */#define RECV_TIME_OUT 2#define SELECT_TIME_SEC 1#define SELECT_TIME_USEC 0 /*select time out val */#define RATE_LEVEL 0.2 /*test the protocol server running state*/#define STAT_LEVEL 0.4 /*determine the stat varibale that is sended to the console*/#define MAX_PACKET 100 /*the size of the max http protocol packet*/#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -