- 论坛徽章:
- 0
|
$ client www.baidu.com 80
connect www.baidu.com:80 successfully!
read timeout!abanded the Page: Unknown error
Time out for Recv data!
=>BFS page
>>>>>>>CurDNShost=[news.baidu.com][:80]
Begin search next page...
http://news.baidu.com:80/
connect news.baidu.com:80 successfully!
Recv data OK!
Searched page(1) http://news.baidu.com:80...
loop=[1]
>>>>>>>CurDNShost=[post.baidu.com][:80]
Begin search next page...
http://post.baidu.com:80/
...........................................
察看返回的结果,希望大家讨论,这只是一个入门程序,但是清楚了复杂的东西你自然会有想法了
$ vi log/LogPage
HTTP/1.1 200 OK^M
Date: Tue, 20 Jun 2006 09:07:16 GMT^M
Server: apache2.0.5.0/1.3.27 (Unix) MOD_NEWSREWRITE v1.0.0 mod_gzip/1.3.19
.1a mod_cache/1.0.0 mod_baidu/4.1.1 BAIDU_IMAGE v1.0.2^M
Set-Cookie: BAIDUID=BB88B5D55112676462A9AC00A51A83D7; expires=Tue, 20-Jun-36 09:
07:16 GMT; path=/; domain=.baidu.com^M
Last-Modified: Tue, 20 Jun 2006 09:02:15 GMT^M
ETag: "34016-127ff-4497b997"^M
Accept-Ranges: bytes^M
Connection: close^M
Content-Type: text/html^M
Content-Encoding: gzip^M
Content-Length: 16870^M
^M
^_\213^H
Pageidx(1)->http://news.baidu.com:80
HTTP/1.1 200 OK^M
...... |
|