diff --git a/ports/tcpport.js b/ports/tcpport.js index 3a3e2f8..b5b0f28 100644 --- a/ports/tcpport.js +++ b/ports/tcpport.js @@ -133,6 +133,7 @@ class TcpPort extends EventEmitter { this._client.on("connect", function() { self.openFlag = true; modbusSerialDebug("TCP port: signal connect"); + self._client.setNoDelay(); handleCallback(); });