From 933533c6232758156b801c8cd1d894ded2b07b63 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Sun, 13 Oct 2013 12:49:30 -0500 Subject: [PATCH] initial notes about tutorials --- tutorials/broadcast_tutorial/chat_tutorial.md | 45 +++++++++++ tutorials/chat_tutorial/chat_tutorial.md | 75 +++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 tutorials/broadcast_tutorial/chat_tutorial.md create mode 100644 tutorials/chat_tutorial/chat_tutorial.md diff --git a/tutorials/broadcast_tutorial/chat_tutorial.md b/tutorials/broadcast_tutorial/chat_tutorial.md new file mode 100644 index 0000000000..0c36a8a9e9 --- /dev/null +++ b/tutorials/broadcast_tutorial/chat_tutorial.md @@ -0,0 +1,45 @@ +WebSocket++ (0.3.0-alpha3) +========================== + +WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket +Protocol. It allows integrating WebSocket client and server functionality into +C++ programs. It uses interchangeable network transport modules including one +based on C++ iostreams and one based on Boost Asio. + +Major Features +============== +* Full support for RFC6455 +* Partial support for Hixie 76 / Hybi 00, 07-17 draft specs (server only) +* Message/event based interface +* Supports secure WebSockets (TLS), IPv6, and explicit proxies. +* Flexible dependency management (C++11 Standard Library or Boost) +* Interchangeable network transport modules (iostream and Boost Asio) +* Portable/cross platform (Posix/Windows, 32/64bit, Intel/ARM/PPC) +* Thread-safe + +Get Involved +============ + +[![Build Status](https://travis-ci.org/zaphoyd/websocketpp.png)](https://travis-ci.org/zaphoyd/websocketpp) + +**Project Website** +http://www.zaphoyd.com/websocketpp/ + +**User Manual** +http://www.zaphoyd.com/websocketpp/manual/ + +**GitHub Repository** +https://github.com/zaphoyd/websocketpp/ + +**Announcements Mailing List** +http://groups.google.com/group/websocketpp-announcements/ + +**IRC Channel** + #websocketpp (freenode) + +**Discussion / Development / Support Mailing List / Forum** +http://groups.google.com/group/websocketpp/ + +Author +====== +Peter Thorson - websocketpp@zaphoyd.com diff --git a/tutorials/chat_tutorial/chat_tutorial.md b/tutorials/chat_tutorial/chat_tutorial.md new file mode 100644 index 0000000000..d591d31055 --- /dev/null +++ b/tutorials/chat_tutorial/chat_tutorial.md @@ -0,0 +1,75 @@ +Chat Tutorial +============= + +Goals of this tutorial: +- Impliment a realtime websocket chat server + + +Server +- Nicknames +- Channels +- Subprotocol +- Origin restrictions +- HTTP statistics page + + + + + + +Hi all, + +I am working on some tutorials for WebSocket++ and was wondering if anyone here has specific features or concepts that they feel would be particularly useful to have covered? Anything that you wish there was a tutorial for now or wished there had been when you were first setting up your WebSocket++ application? + +Best, + +Peter + + + + + + + +WebSocket++ is a header only C++ library that implements RFC6455 The WebSocket +Protocol. It allows integrating WebSocket client and server functionality into +C++ programs. It uses interchangeable network transport modules including one +based on C++ iostreams and one based on Boost Asio. + +Major Features +============== +* Full support for RFC6455 +* Partial support for Hixie 76 / Hybi 00, 07-17 draft specs (server only) +* Message/event based interface +* Supports secure WebSockets (TLS), IPv6, and explicit proxies. +* Flexible dependency management (C++11 Standard Library or Boost) +* Interchangeable network transport modules (iostream and Boost Asio) +* Portable/cross platform (Posix/Windows, 32/64bit, Intel/ARM/PPC) +* Thread-safe + +Get Involved +============ + +[![Build Status](https://travis-ci.org/zaphoyd/websocketpp.png)](https://travis-ci.org/zaphoyd/websocketpp) + +**Project Website** +http://www.zaphoyd.com/websocketpp/ + +**User Manual** +http://www.zaphoyd.com/websocketpp/manual/ + +**GitHub Repository** +https://github.com/zaphoyd/websocketpp/ + +**Announcements Mailing List** +http://groups.google.com/group/websocketpp-announcements/ + +**IRC Channel** + #websocketpp (freenode) + +**Discussion / Development / Support Mailing List / Forum** +http://groups.google.com/group/websocketpp/ + +Author +====== +Peter Thorson - websocketpp@zaphoyd.com