/simple-socket

This Python script facilitates UDP client-server communication through sockets. The client and server can exchange messages over a UDP connection.

Primary LanguagePython

UDP Client-Server Communication

Overview

This Python script facilitates UDP client-server communication through sockets. The client and server can exchange messages over a UDP connection.

Features

  • Client: Send messages to the server and display the server's response.
  • Server: Listen for incoming messages from clients and reply to each message.

Usage

Prerequisites

  • Python 3.x installed

Running the Server

python script_name.py server -p PORT

Running the Client

python script_name.py client -p PORT