|
|
|
|
 怎么用c语言发送HTTP请求,和接收HTTP请求 - xujie0724 [ 2005-07-27 14:32 | 43 byte(s)]
 Re: 怎么用c语言发送HTTP请求,和接收HTTP请求 - xnlcx [ 2005-08-01 12:02 | 30 byte(s)]
 Re: 怎么用c语言发送HTTP请求,和接收HTTP请求 - xujie0724 [ 2005-07-28 12:02 | 38 byte(s)]
 Re: 怎么用c语言发送HTTP请求,和接收HTTP请求 - passworld [ 2005-07-27 21:10 | 1,038 byte(s)]
 Re: 怎么用c语言发送HTTP请求,和接收HTTP请求 - Atu [ 2005-07-27 20:26 | 275 byte(s)]
 Re: 怎么用c语言发送HTTP请求,和接收HTTP请求 - tclwp [ 2005-07-27 20:38 | 86 byte(s)]
|
|
|
|
[Original]
[Print]
[Top]
|
晕,这么大的问题,让别人怎么回答你?
1. 看socket编程的资料
2. 看HTTP协议的资料
简单的说,
1. socket()
2. connect(www_server:80)
3. Sent("GET / HTTP/1.0
")
4. read(.....)
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
Package: libcurl3
Status: install ok installed
Priority: optional
Section: libs
Installed-Size: 552
Maintainer: Domenico Andreoli <cavok@debian.org>
Architecture: i386
Source: curl
Version: 7.13.1-1
Replaces: libcurl2 (<< 1:7.11.2-2)
Depends: libc6 (>= 2.3.2.ds1-4), libidn11 (>= 0.5.2), libssl0.9.7, zlib1g (>= 1:1.2.1)
Suggests: libcurl3-gssapi (= 7.13.1-1), ca-certificates, libldap2-dev
Description: Multi-protocol file transfer library, now with SSL support!
libcurl is designed to be a solid, usable, reliable and portable
multi-protocol file transfer library.
.
To enable LDAP support package libldap2-dev is required.
.
This is the shared version of libcurl.
.
Homepage: http://curl.haxx.se
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
|