A very simple example of a cpp websocket communicating with a web page.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cpp/src
web
.gitignore
README.md
README.txt
start-lamp.sh
start-local.sh

README.md

##Description

Simple example of a cpp websocket server communicating with a client in a web page.

##Objectives

Use this architecture to develop web applications on the Tinkerlamp, using the web socket server to communicate tag tracking information to the web app.

##Usage

Cpp server

In the cpp directory:

  • mkdir build
  • cd build
  • cmake ../cpp/src
  • make
  • ./bin/server

Web page

With the server running, simply open the page web/index.html