pyBegin / projects / socket
🌐

Socket example

No — it opens real TCP sockets for client/server networking, which is not available in the browser sandbox.

15 lines🖥 Desktop only

Socket example

Implementation of a socket in python

How to run

# fist run the server
python ./server.py
# then run the client
python ./client.py

Pyodide-runnable

No — it opens real TCP sockets for client/server networking, which is not available in the browser sandbox.