$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] I need a sample Asio asynchronous client to read&write into sockets and stdin&stdout.
From: vincegata (vincegata_at_[hidden])
Date: 2012-01-28 14:25:53
Hello,
I am writing a client application that reads and writes data into a
remote server. Currently the communication is done using synchronous
(blocking) sockets. I am running Ubuntu and using C++.
I need to re-write this app so it will asynchronously read & write into
sockets and stdin/stdout, I also need to send a heartbeat signal if
there wasn't any communication with the server for 60 seconds. I am new
to Asio, I went through tutorial and looked at the examples such as
asynchronous timer and client chat but they are not all that I need.
Could someone point me to a sample Asio application that does what I need.
Thank you!