1

Closed

GetNTPTime() needs to set timeouts on socket send/receive operations

description

If the NTP server's response does not make it back to the client, the code will hang indefinitely. Same thing applies to sending.
Socket instances should use the SendTimeout and ReceiveTimeout property for this.
Closed May 5, 2011 at 7:11 PM by misenhower

comments

misenhower wrote May 5, 2011 at 7:11 PM

Thanks! Fixed in changeset 3856.

wrote May 5, 2011 at 7:11 PM

wrote Feb 13, 2013 at 4:48 AM

wrote May 16, 2013 at 3:06 AM