prints out "127.0.0.1" Either the connection is still open (unlikely), or connected() is lying to me.perl -MNet::NNTP -MSocket -e ' $n=Net::NNTP->new( localhost, Port=>119, Timeout=>10); sleep 3600; print inet_ntoa((sockaddr_in($n->connected()))[1]) || "not connected"'
In reply to Re: Re: Net::NNTP ping?
by akis
in thread Net::NNTP ping?
by akis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |