jcacerec / websocket-python-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Python Websocket Server-Client Example

A very simple WebSocket Server-Client example. The WebSocket server listens on port 8765 and print json files sent by the client.

Requierements:

To run this example, you need:

Running

The WebSocket server listens on port 8765 and print json files sent by the client. To run the server on the terminal:

$ python3 server.py

You can test that the server is working by running the client example:

$ python3 client.py

About


Languages

Language:Python 100.0%