GetNTPTime() needs to validate that data was actually received before using the ntpData buffer


Currently, there's no checks ensuring that valid data was received.
This is important if/when timeouts are used on socket operations.


misenhower wrote May 5, 2011 at 6:16 PM

If a timeout occurs, a socket exception is thrown. It would probably be a good idea to make sure valid data was received though, so I'll take a look at that at some point. If you have any suggestions, let me know.

wrote Feb 13, 2013 at 3:48 AM