When your application calls BeginConnect, the system will use a separate thread to execute the specified callback method, and will block on EndConnect until the Socket connects successfully or throws an exception.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)