https://github.com/zavierferodova/python-simple-chat-socket
Just Simple TCP Socket CLI Chat Application
https://github.com/zavierferodova/python-simple-chat-socket
chat chat-app socket
Last synced: 3 months ago
JSON representation
Just Simple TCP Socket CLI Chat Application
- Host: GitHub
- URL: https://github.com/zavierferodova/python-simple-chat-socket
- Owner: zavierferodova
- Created: 2022-12-23T03:19:30.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-05T03:06:43.000Z (6 months ago)
- Last Synced: 2025-01-07T21:38:16.743Z (5 months ago)
- Topics: chat, chat-app, socket
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Simple-Chat-Socket
Here is just simple code for network communication practice.## Usage
- Start server script with ``python server.py`` then start client also with ``python client.py``
- To exit on client side just type ``/cmd exit``## Export to Public
You can use ngrok to make this socket visible for public access. First start the server script
```sh
python server.py
```Then you can forward active port using ngrok
```sh
ngrok tcp 50001
```After that edit PORT and HOST on client script based on forwaded ngrok address
```python
# client.py
HOST = ''
PORT =
```
Finally start the client script and start your conversation!
```sh
python client.py
```Enjoy :)