in reply to Re: Net::NNTP ping?
in thread Net::NNTP ping?
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"'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Net::NNTP ping?
by rob_au (Abbot) on Dec 30, 2003 at 10:30 UTC |