Skip to content

teodc/exercise-tcp-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exercise-tcp-chat

Install dependencies: poetry install

Activate virtual environment: source .venv/bin/activate

Start a server: python3 server.py

Spin up a test client: python3 test_client.py <testbot_username>

Fire up an interactive client: nc localhost 9876


TODO:

  • Proper debugging
  • Prevent client from receiving its own messages
  • Probably a lot more...

About

TCP chat demo in Python using Trio

Topics

Resources

Stars

Watchers

Forks

Languages