diff --git a/ports/tcpport.js b/ports/tcpport.js index 4f7baaf..87e23de 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(); });