https://github.com/sansjack/sockets-with-asyncio
This is a simple example of asynchronous tcp sockets written in python3!
https://github.com/sansjack/sockets-with-asyncio
asyncio client python3 python37 server socket tcp
Last synced: 8 months ago
JSON representation
This is a simple example of asynchronous tcp sockets written in python3!
- Host: GitHub
- URL: https://github.com/sansjack/sockets-with-asyncio
- Owner: sansjack
- Created: 2020-01-22T14:12:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-30T10:39:32.000Z (almost 5 years ago)
- Last Synced: 2024-07-13T06:49:30.678Z (over 1 year ago)
- Topics: asyncio, client, python3, python37, server, socket, tcp
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sockets-with-asyncio
## What it is?
This is an example of how to use pythons built in module asyncio by using asyncio.Protocol to create A TCP server
## What it does?
This code contains a client.py and server.py. The client.py is placed on a user’s device such as a desktop pc then the server.py is placed on a server such as a VPS with python installed, the script is always running and with asyinco this allows us to handle multiple requests at a time from different clients meaning the server can run efficiently by using multiple threads which makes it higher performance.
## How it looks?
