📄 proxy.h
字号:
#include <stdio.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <errno.h>#include <fcntl.h>#include <netdb.h>#include <signal.h>#include <sys/wait.h>#include <unistd.h>#include <string.h>#include <stdlib.h>/*#include <sys/time.h>*/#include <sys/stat.h>#define PROXY_PORT 1080struct cli_method{ char version; char nmethods;};struct ser_method{ char version; char method;};struct cli_req{ char ver; char cmd; char rsv; char atyp; struct in_addr ipv4addr; ushort port;};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -