What about the function client_thread() ?
On 09/12/12 11:55, Igor R wrote:
I cannot find what changes it to -1. I put some print statements in boost asio, and I got the following log, which is very strange.I did both things. The destructor never gets called. The native socket-1 means "invalid descriptor", and this is actually the point where
changes from 24 to -1 (which I guess it means it is also wrong).
is_open() would return false. But did you spot the moment where it
changes to -1?
The following line appears twice at the beginning when it should appear once, I think.
0x7f1f180010f8 >>>>>>>>>>>> construct socket is now invalid -1
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users