in reply to perldoc recv, Net::Time and HP-UX
I must be seeing something different than you. I couldn't get the 'tcp' inet_time to work, but 'udp' works like a charm across the board. I checked and the tcp time service just to be sure I wasn't going crazy and it was running on all these servers.
I was just using your one-liner. Is there something else that needs to be done to get the tcp results?
Slightly modified to see if there really was ouput:
This works the same for any of the above type hosts instead of "localhost".# perl -MNet::Time=inet_time -le 'print "1: ", inet_time("localhost", +"udp", 10 ), ":\n";' 1: 1056049512: # perl -MNet::Time=inet_time -le 'print "1: ", inet_time("localhost", +"tcp", 10 ), ":\n";' 1: :
As far as reporting this goes, have you tried the author Graham Barr?
-Kurt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: perldoc recv, Net::Time and HP-UX
by castaway (Parson) on Jun 20, 2003 at 06:59 UTC | |
by KPeter0314 (Deacon) on Jun 20, 2003 at 15:23 UTC |