$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Asio]What's the behavior of socket.async_write()after socket.close() is called?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-06-07 06:17:01
> You would destroy the socket. Delete'ing it,
So it would be always necessary to store a ptr to a socket? Then
delete the socket, which was passed by reference to async_read()?
Doesn't sound good, does it?
> or using a boost::optional.
But it's not optional, according to its semantics...