libwebsockets Simple websocket library written in C++ sha1 code from here: https://code.google.com/p/smallsha1/ base64 code from here: http://www.adp-gmbh.ch/cpp/common/base64.html It will send pong on ping and acknowledge a close. Sample use in main.cpp