Bonus: simple python socket client
Comments are moderated. It may take a few minutes before your comment appears.
Markdown is supported in your comments.
Third, the server is spliced together with the desired qualities. The custom handler is probably the most important part, but this is also where you configure TCP vs UDP. Also, note the
ThreadingMixIn. It allows the server to automatically spawn a new thread for each request. Without it your sever will be limited to one request at a time. There are a handful of other performance related magic variables you can set, too.