8000 GitHub - Ayanjit/python-UDP-Chat: It is a small chat room application using UDP and made with Python3
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ayanjit/python-UDP-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

python-UDP-Chat

It is a small chat room application made with Python3.
It uses UDP for data transfer between Server and Client Process.

Step 1:
In the CMD write -> python chat.py
It creates a server and prints the IP address of the server.
Server port is fixed at 5000.
The IP addess is the one which is provided by the Wifi Router.
It is not the external IP.

Step 2:
In another machine connected with the same Wifi or same machine where server is running,
open another CMD and run -> python chat.py XXX.XXX.XXX.XXX
XXX.XXX.XXX.XXX is the ServerIP.
When you started the server, it prints it's IP.
You can open more than one CMD and run the same command to spawn multiple clients.

Step 3:
After spawning each client, write your name in the CMD.
This is like your nickname.
When the name is created, then server came to know about the client.

Step 4:
After naming all the client, when any client writes a message it goes to all the clients which are connected to the same server.
The message also gets printed in the Server.

About

It is a small chat room application using UDP and made with Python3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0