Skip to content Skip to sidebar Skip to footer

Socket Issue When Using Threads

I've been working on a python game in my spare time, and I've run into a problem. I'm working with sockets using the basic threads module, and it works fine when I connect to the s

Solution 1:

So the issue was the console input, as theSmallNothing said. There wasn't really a way around this limitation without serious hacking, so I proposed to improvise. My solution was to create a web app with python instead of using a console. There were a few advantages to this.

  • the server can handle multiple inputs at a time easily
  • things can happen while input is being entered(the solution to my problem)
  • no files need be downloaded for the user as everything can be accessed simply by entering the web address.

While not a perfect solution, sometimes finding an alternative is the next best thing.

Thanks all for your awesome help!

Post a Comment for "Socket Issue When Using Threads"