Skip to content

Instantly share code, notes, and snippets.

@rich20bb
rich20bb / PythonSimpleWebsocket
Created Dec 2, 2012
Simple websocket server in Python. Echos back whatever is received. Works with Chome, Firefox 16, IE 10.
View PythonSimpleWebsocket
import time
import struct
import socket
import hashlib
import base64
import sys
from select import select
import re
import logging
from threading import Thread
You can’t perform that action at this time.