Welcome! Log In Create A New Profile

Advanced

Process TCP socket

Posted by BMX 
BMX
Process TCP socket
July 17, 2021 03:38PM
Hello. I am new in Nginx. I think it has a feature which I need but don't know how to configure it. There is hardware device with MCU which connects to server (using GSM link). TCP socket is open on custom port and very simple command is sent like "client_id=1001/data1=10/data2=99/etc...". The information is delivered to Python program which returns answer (another string with 2-3 values). Currently this is implemented directly in Python. I want to use Nginx to handle TCP connection, read request and send it to Python (or other language e.g. Perl). There are thousands of devices which are connected on 1-5 min.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready