Good day.

You need to write a server accepting one or two connections via tcp, and implement a protocol with bidirectional data transfer.

Now I wrote, on python, the usual multi-threaded tcp-ip-server on the socket library.

The problem is that this is not my area, I do not understand at all. And I have no idea if any kind of pitfalls can surface. Maybe there will be mistakes with security, or something else I don't know about. Twisted is good, of course, but there are a lot of dependencies, and unnecessary functions, for the task.

So I think, will there be enough a samopny small server, or is it worth taking a twisted one to be sure about things that are not vkurse?

  • Twisted is not a ready-made server, it is an asynchronous framework. If you do not understand asynchronous and network programming, the chance to mess less will not. - Sergey Gornostaev

0