Python Socket Programming - Multiple Clients Chat

preview_player
Показать описание
Learn how to create a group chat using Python sockets. It will consist of a server with multiple clients communicating over Python sockets. We will also learn about multithreading in Python.

Become a Better Developer

My Software

Download Code

⌛ Timestamps
0:00 - Introduction
0:07 - Chat Application Demonstration
1:08 - Coding the Server
5:53 - Coding the Client
8:18 - Running the Program
9:18 - Outro
Рекомендации по теме
Комментарии
Автор

Great tutorial Witt. Will your server throw an error when 6 or more clients try to connect? Also, in real life, if I can’t guess the maximum number of clients, is there a better way than socket.listen(5)? Just wondering if there is a dynamic way to receive more indefinite number of client connections. Thanks for your video and your time!

joseleflores
Автор

Hello @WittCode it would be interesting if possible to make tutorials on object-oriented programming in python (self, __init__, ...) for beginners like me

imperium
Автор

Why use os._exit(0) instead of sys.exit(0)?

loltubemsic