Skip to content

KGene1901/Python-Chatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Chatroom

Overview

Assignment for Networks and Systems module at Durham University (2nd Second Computer Science)

The application is split into two programs, client.py and server.py, and uses the idea of sockets and multithreading for multiuser real-time communications. The programs in folder Version 1 is compatible with Python 3.6 (and over) while folder Version 2 is compatible with Python 3.5 (and over) as it does not make use of formattted strings.

Tools Used

Programming Language:

  • Python

To allow multiuser interaction:

  • socket library
  • threading library
  • _thread library

Chatroom GUI:

  • tkinter library

How To Run

To run client.py:
format: python client.py <username> <host address> <port number>
example: python client.py user1 127.0.0.1 8080

To run server.py:
format: python server.py <port number>
example: python server.py 8080

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages