Pull websockify 46e2fbe. WebSocketServer.socket() is a static method takes a host and port and an optional connect parameter. If connect is not set then it returns a socket listening on host and port. If connect is set then a connection will be made host and port and the socket returned. This has IPv6 support like the addrinfo method it replaces. Also, prefer IPv4 resolutions if they are in the list. This can be overriden to prefer IPv6 resolutions for the same host using the optional prefer_ipv6 parameter. |
||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
img2js.py | ||
json2graph.py | ||
launch.sh | ||
rebind | ||
rebind.c | ||
u2x11 | ||
web.py | ||
websocket.py | ||
websockify | ||
wsproxy.py |
README.md
WebSockets Proxy
wsproxy has become websockify. A copy of the python version of websockify (named wsproxy.py) is kept here for ease of use. The other versions of websockify (C, Node.js) and the associated test programs have been moved to websockify.
For more detailed description and usage information please refer to the websockify README.