erlang_websocket icon indicating copy to clipboard operation
erlang_websocket copied to clipboard

WebSocket Server and Client implementation in Erlang/Mochiweb

WebSocket implementation in Erlang

Tests

First, start the WebSocket server::

$ make $ cd deps/misultin/examples $ erl -pa ../ebin 1> misultin_websocket_example:start(8888). {ok,<0.33.0>}

Then, run the test client.::

$ cd deps/pywebsocket/src $ PYTHONPATH=. python example/echo_client.py -r /test -m hello --origin=localhost -s localhost -p 8888 --protocol_version=hixie75 Send: hello Recv: received 'hello' $ PYTHONPATH=. python example/echo_client.py -r /test -m hello --origin=localhost -s localhost -p 8888 --protocol_version=hybi00 Send: hello Recv: received 'hello' Send close Recv ack