Sunday, April 20, 2025

Sockets with Python - 5 - Two Way Chat

Source code in this tutorial is same as in last one. Just run 2 server scripts, at different port, and than change corresponding ports in client scripts. For example, for first server/client combo use port: 54321, and for other server/client use port 12345.

Note: If you use one PC, run scripts in 4 different terminals/IDLEs or you will run into IDLE clashes.

No comments:

Post a Comment

Tkinter Introduction - Top Widget, Method, Button

First, let's make shure that our tkinter module is working ok with simple  for loop that will spawn 5 instances of blank Tk window .  ...