Mono Sockets – Connect() ‘ing Forever

In .NET 4.5 on Windows, this code will work as expected with the Connect() Function Timing out if it takes too long. However, on Mono 4.2.1 it doesn’t follow the same logic and will continue to wait for the Connect(), even if you set a Timeout. To fix this use the ASYNC BeginConnect Method, and … [Read more…]