This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding: utf8 -*- | |
# | |
# Simple WebSockets in Python | |
# By Håvard Gulldahl <[email protected]> | |
# | |
# Based on example by David Arthur (he did all the hard work :) | |
# https://gist.github.com/512987 | |
# | |
import struct |