Link to home
Start Free TrialLog in
Avatar of bachra04
bachra04Flag for Canada

asked on

TCP/IP code based on boost asio synchronous/asynchronous

Hi All,

As a first step in our project, I need to use boost asio to build a communication protocol above the tcp/ip layer.
So I need to :
establish connection , send and receive messages synchronously and asynchronously.
In the Asynchronous case, I need to give the client a possibility to register his method so I called him back when I receive a message and I deliver to him the message.
something like:

handleEvent ( String Message)
{
}

I need your help to point me to some existing code in boost asio or a similar code that I can adapt it to boost asio lib.

Thanks,

B.T
ASKER CERTIFIED SOLUTION
Avatar of libin_v
libin_v
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial