Skip to content

This Python chat application enables multiple clients to connect to a server, featuring admin privileges for kicking/banning users. Security measures include an admin password, bans recorded in 'bans.txt,' and command handling. The code leverages socket programming and threading, offering a simple yet extensible platform for communication.

Notifications You must be signed in to change notification settings

Swastik19Nit/TCP-IP-chat-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

TCP-IP-chat-server

This Python chat application enables multiple clients to connect to a server, featuring admin privileges for kicking/banning users. Security measures include an admin password, bans recorded in 'bans.txt,' and command handling. The code leverages socket programming and threading, offering a simple yet extensible platform for communication. Readme:

Installation:

Ensure you have Python installed. Run the server script: python server_script.py. Run the client script: python client_script.py. Usage:

Choose a nickname when prompted. If 'admin,' set a password. Use '/kick' and '/ban' commands if admin. Enjoy chatting with others! Note:

Admin commands are restricted to users with 'admin' as their nickname. Banned users' nicknames are stored in 'bans.txt'. For security, change the default admin password.

About

This Python chat application enables multiple clients to connect to a server, featuring admin privileges for kicking/banning users. Security measures include an admin password, bans recorded in 'bans.txt,' and command handling. The code leverages socket programming and threading, offering a simple yet extensible platform for communication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages