• Stars
    star
    128
  • Rank 281,044 (Top 6 %)
  • Language
    C++
  • License
    Boost Software Li...
  • Created over 6 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

CppCon 2018 Presentation materials

This repository contains the presentation file and compiling source code for the CppCon2018 talk.

Get Rich Quick! Using Boost.Beast WebSockets and Networking TS

Do you want to make a lot of money? You'll see some examples of free browser and server based WebSocket programs which have earned their respective individual authors tens of millions of dollars in no time at all. Perhaps after seeing this talk in person, you'll write the next massively successful WebSocket app!

The WebSocket protocol powers the interactive web by enabling two-way messaging between the browser and the web server. The Boost.Beast library implements this protocol on top of the industry standard Boost.Asio library which models the Networking Technical Specification proposed for the ISO C++ Standard.

This presentation introduces Networking TS concepts and algorithms, how to read their requirements, and how to use them in your programs. We will build from scratch a multi-user chat server in C++11 using Beast, and the corresponding browser-based chat client in HTML and JavaScript. No prior knowledge or understanding of Beast or Asio is required, the talk is suited for everyone.

Docker Container

To run this example in a Docker container, simply enter the following commands:

docker build -t cppcon2018-example .
docker run -d -p 8080:8080 cppcon2018-example

After that, you may observe the example at localhost:8080.

More Repositories

1

DSPFilters

A Collection of Useful C++ Classes for Digital Signal Processing
C++
1,832
star
2

LuaBridge

A lightweight, dependency-free library for binding Lua to C++
C
1,633
star
3

Amalgamate

A tool for creating an amalgamation from C and C++ sources
C++
436
star
4

LayerEffects

Photoshop Layer Effects for juce::Graphics
C
64
star
5

DSPFiltersDemo

A Collection of Useful C++ Classes for Digital Signal Processing Demo
C++
56
star
6

FreeTypeAmalgam

The FreeType Project: a free, high-quality and portable font engine.
C
48
star
7

SimpleDJ

A self-contained set of cross platform applications and audio plugins.
C
44
star
8

LuaBridgeDemo

Demonstration and test harness for LuaBridge
C++
38
star
9

CppCon2017

Make Classes Great Again (CppCon 2017 Presentation)
C++
26
star
10

Amalgams

Templates for producing various amalgamations
C++
19
star
11

TagLibAmalgam

TagLib Audio Meta-Data Library
C++
9
star
12

library_template

An empty project configured for creating a library with examples and tests
C++
6
star
13

buffers-asio

Stand-alone library to provide Asio buffer sequence support without including all of Asio
C++
5
star
14

ssl_verify

Cross platform verification of SSL/TLS server certificates
C++
4
star
15

LuaBridgeUnitTests

Stand alone application for running and verifying LuaBridge unit tests.
C
4
star
16

p1134

An Elegant Coroutine Abstraction
C++
3
star
17

BeastLounge

Massively Multiplayer Online Blackjack Game using Boost.Beast
C++
2
star
18

cpp

LWG and LEWG documents
HTML
1
star
19

MusicPlaylistCreationTools

Tools for Macintosh and Windows users to generate playlists from directories
Shell
1
star
20

Assets

1
star
21

vinniefalco.github.com

User Page
JavaScript
1
star
22

beast2

Testbed for a re-imagining of Beast
C++
1
star
23

LuaUnityBuild

Versioned releases of Lua organized in the unity build style.
C
1
star
24

BeastAssets

Source files for Beast repository assets
HTML
1
star
25

genesis-bk

1
star