https://github.com/f0rkr/chatserver
A Simple chat server with python using sockets
https://github.com/f0rkr/chatserver
Last synced: 2 months ago
JSON representation
A Simple chat server with python using sockets
- Host: GitHub
- URL: https://github.com/f0rkr/chatserver
- Owner: f0rkr
- Created: 2020-03-16T18:24:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-11T14:32:35.000Z (over 4 years ago)
- Last Synced: 2025-01-27T23:14:28.553Z (4 months ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### chatServet
A Simple chat server with python using socketsRun the server:
`python3 chat.py`
Then connect to server using netcat
`nc localhost 7777`This chat server contain commands:
- MSG `message`: Simply resend this message to all users.
- NICK `nickname`: Add a nickname.
- WHO: Get the list of all connected users.
- QUIT `message`: properly disconnect the server by broadcast a farewell message.
- KILL `nickname` `message`: To kick an unpleasant user, after having sent him a farewell message.