Solved

TCP/IP code based on boost asio synchronous/asynchronous

Posted on 2008-10-09
1
1,517 Views
Last Modified: 2013-11-13
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
0
Comment
Question by:bachra04
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
libin_v earned 500 total points
ID: 22684720
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question