Quantcast
Channel: How to concurrently send data to multiple servers using C++ socket programming? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Zack R. for How to concurrently send data to multiple servers using C++ socket programming?

$
0
0

You aren't joining or detaching the threads causing the program to exit with errors. Store the threads in an array so you can join them or call detach in your loop.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>