Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 640 Bytes

File metadata and controls

24 lines (12 loc) · 640 Bytes

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