Chat Server using Python

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

No alt text provided for this image

SYSTEM 2

No alt text provided for this image

Now we will run both the codes in the 1st and 2nd system and check if its working or not.

No alt text provided for this image

Our system is working on UDP protocol perfectly fine.


Jayesh Kumar Jangir

AI Developer @Diro | Red Hat Certified (3X) | GenAI Engineer | MLOps

3 年

Great work

回复
Shubham Kumar

Sales and Marketing Manager | Boosting Revenue Through Strategic Planning & Market Insights | Marketing Strategist | Technical Engineer

3 年

Good??

回复

要查看或添加评论,请登录

Shreya Garg的更多文章

社区洞察

其他会员也浏览了