How to create a simple server/client application using boost.asio?

Posted by the_drow on Stack Overflow See other posts from Stack Overflow or by the_drow
Published on 2010-05-03T15:16:54Z Indexed on 2010/05/04 2:18 UTC
Read the original article Hit count: 331

I was going over the examples of boost.asio and I am wondering why there isn't an example of a simple server/client example that prints a string on the server and then returns a response to the client.
I tried to modify the echo server but I can't really figure out what I'm doing at all.
Can anyone find me a template of a client and a template of a server?
I would like to eventually create a server/client application that receives binary data and just returns an acknowledgment back to the client that the data is received.

© Stack Overflow or respective owner

Related posts about boost

Related posts about boost-asio