Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Demo code for a low-level C implementation of the websocket protocol.

Notifications You must be signed in to change notification settings

adamkewley/websocket-echo-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Websocket Echo Server

An extremely basic implementation of a websocket echo server. Used as a learning exercise.

Building

Built with gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 using GNU Make 4.1. Requires the nodejs http-parser and OpenSSL to be installed.

make all

Running

When executed, will open a random available port and start listening for HTTP messages on that port. The server will only accept websocket handshakes, which it will upgrade to initiate a full websocket sesssion.

./main

About

Demo code for a low-level C implementation of the websocket protocol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published