Perl Cd Bookshelf [Electronic resources]

نسخه متنی -صفحه : 875/ 212
نمايش فراداده

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

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.

inet_time

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

Obtains the time on host, or a default host if host is not given. inet_time uses protocol, which can be either udp or tcp. Returns some units of time on success or undef on failure.


8.163. Net::SMTP8.165. O


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