TimeProvider


Description:

[ CCode ( has_construct_function = false ) ]
public TimeProvider (Clock clock, string? address, int port)

Allows network clients to get the current time of clock.

Parameters:

clock

a Clock to export over the network

address

an address to bind on as a dotted quad (xxx.xxx.xxx.xxx), IPv6 address, or NULL to bind to all addresses

port

a port to bind on, or 0 to let the kernel choose

Returns:

the new TimeProvider, or NULL on error




2022 vala-language.org