忘记密码   免费注册 查看新帖 |

ChinaUnix.net

  平台 论坛 博客 文库 频道自动化运维 虚拟化 储存备份 C/C++ PHP MySQL 嵌入式 Linux系统
1234
最近访问板块 发新帖
楼主: iamlimeng

用多线程和持续连接实现高速WEB请求 [复制链接]

论坛徽章:
0
发表于 2010-10-08 00:45 |显示全部楼层
学习中

论坛徽章:
3
未羊
日期:2013-11-18 15:17:06酉鸡
日期:2013-12-06 17:07:16天蝎座
日期:2014-06-11 12:37:07
发表于 2013-08-03 21:40 |显示全部楼层
拖后腿了。。。因为没看懂代码的意义何在。。但是好奇的是怎样实现递归下载网站所有的页面呢?
前辈,能否指教一二?

论坛徽章:
3
未羊
日期:2013-11-18 15:17:06酉鸡
日期:2013-12-06 17:07:16天蝎座
日期:2014-06-11 12:37:07
发表于 2013-08-03 21:40 |显示全部楼层
拖后腿了。。。因为没看懂代码的意义何在。。但是好奇的是怎样实现递归下载网站所有的页面呢?
前辈,能否指教一二?

论坛徽章:
0
发表于 2018-02-27 17:51 |显示全部楼层
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 846, near "croak "usage:   (port,iaddr) = sockaddr_in(sin_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 849, near "croak "usage:   sin_sv = sockaddr_in(port,iaddr))""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 846, near "croak "usage:   (port,iaddr) = sockaddr_in(sin_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 849, near "croak "usage:   sin_sv = sockaddr_in(port,iaddr))""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 856, near "croak "usage:   (port,in6addr,scope_id,flowinfo) = sockaddr_in6(sin6_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 860, near "croak "usage:   sin6_sv = sockaddr_in6(port,in6addr,[scope_id,[flowinfo]])""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 856, near "croak "usage:   (port,in6addr,scope_id,flowinfo) = sockaddr_in6(sin6_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 846, near "croak "usage:   (port,iaddr) = sockaddr_in(sin_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 846, near "croak "usage:   (port,iaddr) = sockaddr_in(sin_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 860, near "croak "usage:   sin6_sv = sockaddr_in6(port,in6addr,[scope_id,[flowinfo]])""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 846, near "croak "usage:   (port,iaddr) = sockaddr_in(sin_sv)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 849, near "croak "usage:   sin_sv = sockaddr_in(port,iaddr))""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 867, near "croak "usage:   (filename) = sockaddr_un(sun_sv)""
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 849, near "croak "usage:   sin_sv = sockaddr_in(port,iaddr))""
        (Do you need to predeclare croak?)
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 849, near "croak "usage:   sin_sv = sockaddr_in(port,iaddr))""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 870, near "croak "usage:   sun_sv = sockaddr_un(filename)""
        (Do you need to predeclare croak?)
String found where operator expected at /usr/lib/perl5/vendor_perl/5.26/x86_64-cygwin-threads/Socket.pm line 867, near "croak "usage:   (filename) = sockaddr_un(sun_sv)""
        (Do you need to predeclare croak?)


怎么报这个错误呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号 北京市公安局海淀分局网监中心备案编号:11010802020122
广播电视节目制作经营许可证(京) 字第1234号 中国互联网协会会员  联系我们:wangnan@it168.com
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP