Task: 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.


a. Basics of Python Socket Programing
b. Two System with Python installed as For chat we need two Persons
c. Internet connectivity

Now let’s get started…..

✔STEP’s: We have to Create Both server Side as well as Client side Program

🔦For this 1st we will Import the required modules

🔦2nd We will use socket module to bind the Ip and Port for receiving end,

🔦3rd We will also use the sender’s function of Socket module to send the Data in binary,

🔦Lastly We have to use the Multi-Threading as we are running two Infinite, Loops and we want them to run in Parallel(i.e. very-very fast)


🔦 Running the chat Program on Both Systems*

As we Can see… Our Chat Program is Working on UDP protocol Hope you guys Liked it and Learn from it!!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Student from B.tech 2nd Year, A proud ARTH learner, love new technologies, Curious about many thing, likes to explore places, love eating pizza and much more.