LimingFang
LimingFang

Reputation: 143

What's difference between websocketpp and boost.asio?

Recently I was packaging the Deribit API with websocketpp in C++. But when I read the source code of Websocketpp, I found that it's close linked with boost.asio. I have heard boost.asio before but I don't know that do I need to get a command of boost.asio for the aim of studying websocketpp better. In another word, what's difference between them?

Upvotes: 0

Views: 634

Answers (1)

Alan Birtles
Alan Birtles

Reputation: 36399

asio provides access to raw tcp and udp sockets, it doesn't implement any application layer protocols.

websocketpp implements the websocket protocol using asio (or various other low level socket libraries)

Upvotes: 4

Related Questions