
31 Dec
2010
31 Dec
'10
11:10 p.m.
Thanks Igor. Wish you (all) a very happy new year... On Thu, Dec 30, 2010 at 4:05 PM, Igor R <boost.lists@gmail.com> wrote:
then is there any method/operator (=) available in asio to assign a socket to another socket?
No, socket is non-copyable. If you have to create and pass the socket object to from outside, you can define a smart-ptr to tcp::socket in your class, or an optional<tcp::socket>. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users