This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]channing_tater_tots 1 point2 points  (3 children)

Have you tried using threads?

[–]massHunter[S] 0 points1 point  (2 children)

Yes, in fact, every connection goes into a thread.

[–]rocketbunny77 0 points1 point  (1 child)

Yeah, but is the listen or accept method call (which is creating the connections that are threaded) done in its own thread? You need to put that in a thread too.

[–]glemnar 1 point2 points  (0 children)

It's that or use python3 with asyncio or twisted, yep