Skip to content

Instantly share code, notes, and snippets.

View micfan's full-sized avatar

Michael micfan

  • Palo Alto
View GitHub Profile
#include <iostream>
#include <memory>
using namespace std;
typedef unsigned char BYTE;
int M = 0xA5;
int A = 0xc9;
int N = 256;
int init = 0x55;
#pragma once
#include <boost/noncopyable.hpp>
#include <boost/beast/websocket.hpp>
#include <boost/beast/websocket/ssl.hpp>
struct websocket_stream : boost::noncopyable