🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

udp-chat

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

udp-chat

UDP-based chat application

0.1.2
Maintainers
1

Asynchronous UDP-based chat application

UDPChat main window

Hosted at udpchat://209.97.187.173

How to set up and run the application.

1. Create a python virtual enviroment

  • Run python3 -m venv venv to create the virtual enviroment.
  • Run source venv/bin/activate to activate the virtual enviroment.
  • Run pip install -e . to install dependencies to the virtual environment

2. Starting the server

On localhost

  • Run python3 -m udp_chat.server to start running the server.

On specified IP address

  • Run python3 -m udp_chat.server (IP address) (port number) to start running the server

3. Starting a client GUI

In a new terminal:

Connect to a server on localhost

  • Run python3 -m udp_chat.gui_client to start the client GUI

Connect to a server IP address

  • Run python3 -m udp_chat.gui_client (IP address) (port number) to start the client GUI

4. Starting a command line client

Note: Must already have created an account

In a new terminal:

Connect to a server on localhost

  • Run python3 -m udp_chat.client to start the client

Connect to a server IP address

  • Run python3 -m udp_chat.client (IP address) (port number) to start the client GUI

5. Delete the enviroment

  • Run rm -rf venv to delete the virtual enviroment

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts