Boost Users :
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
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net