home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Book HomeJava and XSLTSearch this book

8.164. Net::Time

Provides subroutines that obtain the time on a remote machine. This module is part of the core Perl distribution starting with Perl 5.8.

Net::Time implements the following functions.


inet_daytime( [host [, protocol [, timeout]]]) 

Obtains the time on host , or a default host if host is not given. inet_daytime uses protocol, which can be either udp or tcp. Returns an ASCII string or undef on failure.

Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.