eModbus / eModbus

Modbus library for RTU, ASCII and TCP protocols. Primarily developed on and for ESP32 MCUs.

Home Page:https://emodbus.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please add a bool ModbusServerTCPasync::isRunning() function to monitor the async TCP server status

dsilletti opened this issue · comments

Please add a function to get the status of the async server.
Something simple like this one I implemented would be very useful.

bool ModbusServerTCPasync::isRunning() {
  if (server) return true;
  else return false;
}

Thank you

@bertmelis is reworking the async code ATM and will consider this.

@dsilletti I will add something like that.