$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] boost asio
From: Sharma, Nishant (Nishant_Sharma_at_[hidden])
Date: 2017-10-17 03:48:16
Hi,
I have created an Asynchronous TCP server and client and it works fine.
Since it is asynchronous, it uses API's like async_read, async_write etc..
Is it possible that the same code be used to do "synchronous" communication which results in blocking any further task in the queue unless the current i/o task is complete ?
I have attached the example hereby. It has two folder for server and client.. First the server needs to be run and then the client.
Best Regards,
Nishant Sharma