evemondevteam / evemon

A lightweight, easy-to-use standalone Windows application designed to assist you in keeping track of your EVE Online character progression.
185 stars 171 forks source link

Network Time Protocol infinite timeout #76

Open nathan-bell opened 6 years ago

nathan-bell commented 6 years ago

The TimeCheck.BeginCheckAsync() method calls Socket.Receive() with the default ReceiveTimeout which is 0 - or infinite timeout.

If this port is blocked (like it is at my office) EveMon gets stuck at the first call to check the time (ie when opening) and never goes further.

Maybe a default timeout could be set here? Or a way to disable the timecheck altogether