Hi there.
I am trying to write a simple TCPServer and a client with Twisted python.
Everything is working well; but, there is a way to defer some tasks to different threads? For example, is it possible to do:
- take an input from the user until
\n
, then send the data to the server; - accept all the incoming messages from the server and write to the screen;
simultaneously?
Which are best practices?
Thank you for your help.
—Donovan