⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wput.h

📁 另一种wput
💻 H
字号:
/* Default host and port */#define HOST    "localhost"#define PORT    80/* Default proxy host and port */#define PROXY_HOST    ""#define PROXY_PORT    8080/* Base URL */#define URL	""/* HTTP-protocol */#define PROTOCOL	"1.0"/* Additional headers */#define HEADERS		""/* Network timeout */#if !defined _WIN32#define	TIMEOUT		5#endif/* Global definitions */#define	VERSION	"1.0"#include <stdio.h>#include <sys/types.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <signal.h>#include <setjmp.h>/* Win32 specific stuff, compiled with -wsock32 !! */#if defined _WIN32#include <windows.h>/* UNIX includes */#else#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#include <netdb.h>#include <unistd.h> #endif/* Quiet? boolean */int q_flag;/* Hostname */char *h_char;int h_flag;/* Proxy */char *p_char; int p_flag;/* Source port */int r_flag;/* URL */char *url;/* HTTP protocol version */char *v_char;/* Additional headers */char *a_char;/* Idle time */int i_flag;/* Network timeout */#if !defined _WIN32int t_flag;#endif/* functions */void printp(void);int send_msg (char *, char *, int, int, int);int iscmd (char *, char *, int);char *fnlines (char *);#if !defined _WIN32void catchalarm (int);#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -