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

📄 http.c

📁 Linux下的多协议即时通讯程序源代码
💻 C
字号:
/* $Id: http.c 16856 2006-08-19 01:13:25Z evands $ *//* *  (C) Copyright 2001-2002 Wojtek Kaniewski <wojtekka@irc.pl> * *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU Lesser General Public License Version *  2.1 as published by the Free Software Foundation. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU Lesser General Public License for more details. * *  You should have received a copy of the GNU Lesser General Public *  License along with this program; if not, write to the Free Software *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, *  USA. */#include <sys/types.h>#ifndef _WIN32#include <sys/wait.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>#endif#include "libgadu-config.h"#include <ctype.h>#include <errno.h>#ifndef _WIN32#include <netdb.h>#endif#ifdef __GG_LIBGADU_HAVE_PTHREAD#  include <pthread.h>#endif#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "compat.h"#include "libgadu.h"/* * gg_http_connect() // funkcja pomocnicza * * rozpoczyna po潮czenie po http. * *  - hostname - adres serwera *  - port - port serwera *  - async - asynchroniczne po潮czenie *  - method - metoda http (GET, POST, cokolwiek) *  - path - 禼ie縦a do zasobu (musi by

⌨️ 快捷键说明

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