klassen-software-solutions / kssio

C++ I/O library (networking, files, and streams)
MIT License
0 stars 0 forks source link

Add a multiple connect option #24

Open stevenklassen8376 opened 5 years ago

stevenklassen8376 commented 5 years ago

The idea would be to allow multiple connect() calls in parallel with the first one that is successful being returned and the others being automatically abandoned/closed.

See https://stackoverflow.com/questions/56743962/non-blocking-consecutive-connect-to-two-servers