标题: 这个程序在干什么??
haoy
新生入学
Rank: 1
注册用户



UID 98767
精华 0
积分 0(积分有什么用?)
帖子 1
阅读权限 10
注册 2004-10-25
状态 离线
发表于 2005-9-18 09:42  资料  个人空间  短消息  加为好友 
这个程序在干什么??

#!/usr/bin/perl
use IO::Socket;
$host = "127.0.0.1";
$remote = IO::Socket::INET->new ( Proto => "tcp", PeerAddr => $host, PeerPort => "80");
unless ($remote) { die "cannot connect to $host"; }
print "connected\n";
while (<$remote> )
{
print $_;
last if (/220 /) ;
}
$remote->autoflush(1);

顶部
不容错过的IBM 集群技术资源汇总
 



当前时区 GMT+8, 现在时间是 2008-5-16 16:00

    Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.053378 second(s), 5 queries

清除 Cookies - 联系我们 - Linux伊甸园 - Archiver - WAP