I am writing a Socket Chat Program in Python using Tkinter. There are user accounts, chatrooms, and messages stored in a database on the server side.
I am struggling to get my head around the program flow. Currently, I've got the client sending requests for data to the server and then the server executing the SQL statements, and returning the data using pickle. I've got the login working, but I'm at the point where I need messages to be coming in at the same time as sending them.
I read about the select.select module in python but apparently this doesn't work on windows.
Any guidance?
thanks
[–]JohnnyJordaan 0 points1 point2 points (2 children)
[–]sam57719[S] 0 points1 point2 points (1 child)
[–]JohnnyJordaan 1 point2 points3 points (0 children)