epsilonrt / libmodbuspp

Much more than a C++ wrapper for libmodbus
https://epsilonrt.fr/modbuspp
GNU Lesser General Public License v3.0
77 stars 44 forks source link

Implementing TCP Server with multiple available connections. #25

Open taushkanov opened 2 years ago

taushkanov commented 2 years ago

Hello! Thank you for this great solution!

I need to implement TCP server with multiple available connections.

In libmodbus we can do this by creating listening socket, then catching incoming connection to handle requests and listen socket again for new connection.

Is there any way to do this with modbuspp? I cant find any appropriate methods in modbuspp rather than Modbus::Server::open().

Thank you in advance.