$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost asio tcp::socket assign
From: Igor R (boost.lists_at_[hidden])
Date: 2010-12-30 05:35:48
> 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>.