Chat Server using Python
Task Description:
??Create your own Chat Servers, and establish a network to transfer data using Socket Programing by creating both Server and Client machine as Sender and Receiver both. Do this program using UDP data transfer protocol** Hint **
?? Use multi-threading concept to get and receive data parallelly from both the Server Sides. Observe the challenges that you face to achieve this using UDP.
To do that We have to Create Both server Side as well as Client side Program
STEP-1: For this 1st we will Import the required modules.
STEP-2: We will use socket module to bind the Ip and Port for receiving end.
STEP-3: We will also use the sender’s function of Socket module to send the Data in binary.
STEP-4: We have to use the Multi-Threading as we are running two Infinite, Loops and we want them to run in Parallel.
SYSTEM 1
SYSTEM 2
Now we will run both the codes in the 1st and 2nd system and check if its working or not.
Our system is working on UDP protocol perfectly fine.
AI Developer @Diro | Red Hat Certified (3X) | GenAI Engineer | MLOps
3 年Great work
Sales and Marketing Manager | Boosting Revenue Through Strategic Planning & Market Insights | Marketing Strategist | Technical Engineer
3 年Good??