E
E
Emil Revencu2016-01-09 19:27:41
Python
Emil Revencu, 2016-01-09 19:27:41

How to deploy python TCP server on windows?

There is a script that listens to a port (non web) and performs a certain function when receiving data.
How to run reliably on Windows platform this TCP server (multi user simultaneous)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zotovman, 2016-01-15
@zotovman

You here: https://docs.python.org/3/library/asyncio.html
It 's simple and clear here: www.drdobbs.com/open-source/the-new-asyncio-module...
I once it was a little tricky, since I first encountered asynchronous execution.
Based on the example, within 15 minutes you can do what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question