$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] asio::local::stream_protocol difficulties
From: boost_at_[hidden]
Date: 2010-04-28 07:21:42
this might be a rather stupid question, but I have difficulties using asio::local::stream_protocol, and the examples are not *that* helpful. I'm trying to build a server/client infrastructure like in the example http://www.boost.org/doc/libs/1_42_0/doc/html/boost_asio/example/local/stream_server.cpp and the corresponding client That example server is a simple echo server, and I can't grasp how I would start changing that; I would need the client-server pair to behave more like a bidirectional interface; the server should also provide a send() and recieve(), like the client. How would I start implementing that, or is the client/server model the wrong approach here? Hannes