Skip to content

Simple Websocket Server

Uros Petrevski edited this page Nov 27, 2016 · 1 revision

Install websocketd

For now we are using websocketd as a development tool. This can be changed later if necessary. Get and install websocketd first from http://websocketd.com

Give exec permissions to your server scipt

$ cd server/
$ chmod +x server.py

Launch websocketd

$ websocketd --port=8000 --devconsole ./server.py