id summary reporter owner description type status milestone component version severity resolution keywords cc 11527 socket connection error danial1360@… chris_kohlhoff "image the following code! it uses 2 threads and creates simple server client connection the code is simple and I use synchronize functions to make it easier to understand. in the client thread if I use : while (error_ && it != end) { skt.close(); // skt is socket skt.connect(*it++, error_); } the the program crashes when it want to read or write something to the socket !! but if I use:boost::asio::connect(skt, it); then I works perfectly!!! notice that i will have this problem only if I use the code in two threads inside a single process. if I run the code in two different processes everything is fine. I am using windows 7 x67 and VS2013 but I am using 32bit project and 32bit boost library . " Bugs new To Be Determined asio Boost 1.58.0 Problem socket , connect