TimeServer Property

The time server from which to request the time.

Object Oriented Interface

public function getTimeServer();
public function setTimeServer($value);

Procedural Interface

ipworks_netclock_get($res, 8 );
ipworks_netclock_set($res, 8, $value );

Default Value

'pool.ntp.org'

Remarks

This property contains the time server from which to request the time. This property should be set to a valid internet address of a time server. The server will reply with its current time (GMT).

When Protocol is set to SNTP another public server that may be used is "time.google.com".

Time requests are sent to port TimePort on the TimeServer.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]