Question

Hi there,i'm using Django1.8.6 with NGINX and GUNICORN. i want to receive data from TCP connection.can anyone help me??

i want to receive data on TCP PORT.how to use tcp port listen in Django.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

In doing a bit of digging it doesn’t sound like this is directly supported in Django so the best option may be to use a separate process to listen and share the data. You can read more here.