TimePort Property
The UDP port where the remote Time server is listening.
Syntax
ANSI (Cross Platform) int GetTimePort();
int SetTimePort(int iTimePort); Unicode (Windows) INT GetTimePort();
INT SetTimePort(INT iTimePort);
@property (nonatomic,readwrite,assign,getter=timePort,setter=setTimePort:) int timePort; - (int)timePort; - (void)setTimePort:(int)newTimePort;
#define PID_NETCLOCK_TIMEPORT 7 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_NetClock_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_NetClock_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
123
Remarks
This property is the UDP port on the TimeServer to which Time requests are sent. If Protocol is set to tpTimeProtocol the component will set this property to 37.
This property is not available at design time.
Data Type
Integer