$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] Threading and Asio
From: Gonzalo Garramuno (ggarra13_at_[hidden])
Date: 2012-11-09 19:38:59
I started playing with asio server/client model and I run into a
problem. I have a thread for the server, another for the client and
another for the send/receive message. This results in:
write: Socket operation on non-socket
as the send thread is not made aware of the socket initialized in the
client thread.
I'm wondering what is the solution to have the send in a separate thread.