<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TCP Connection Open/Close]]></title><description><![CDATA[<p dir="auto">Hello All,</p>
<p dir="auto">Noobie here and I have a question about Modbus4J.</p>
<p dir="auto">I was using WireShark packet capture to look at the MODBUS requests being sent by Modbus4J.  One of the things I noticed is that Modbus4J opens/closes a TCP connection for each MODBUS request.</p>
<p dir="auto">Is there a way to set the Modbus4J driver to open a TCP connection once, send all the MODBUS requests, and when all the responses have been received or a timeout occurs close the TCP connection?</p>
<p dir="auto">OR...Just leave the TCP connection open until a timeout occurs or the Modbus4J driver is shutdown.</p>
<p dir="auto">Thanks...John</p>
]]></description><link>https://forum.mango-os.com/topic/496/tcp-connection-open-close</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 06:32:38 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/496.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Aug 2010 13:53:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TCP Connection Open/Close on Fri, 22 Jun 2012 15:20:31 GMT]]></title><description><![CDATA[<p dir="auto">Buenos dias,<br />
soy nuevo en el foro<br />
Estoy probando m2m para conectar unos dispositivos con protocolo modbus<br />
Mi intención es conectar a través de un modem gprs. El sim cuando se conecta arroja una ip<br />
Pero siempre el mango me tira este error</p>
<p dir="auto">'aaa': com.serotonin.modbus4j.exception.ModbusTransportException: java.net.SocketTimeoutException: connect timed out</p>
<p dir="auto">alguien puede ayudarme?</p>
]]></description><link>https://forum.mango-os.com/post/6479</link><guid isPermaLink="true">https://forum.mango-os.com/post/6479</guid><dc:creator><![CDATA[contig]]></dc:creator><pubDate>Fri, 22 Jun 2012 15:20:31 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Connection Open/Close on Thu, 26 Aug 2010 23:09:14 GMT]]></title><description><![CDATA[<p dir="auto">Will do...Thanks!!!</p>
]]></description><link>https://forum.mango-os.com/post/4205</link><guid isPermaLink="true">https://forum.mango-os.com/post/4205</guid><dc:creator><![CDATA[jesawyers]]></dc:creator><pubDate>Thu, 26 Aug 2010 23:09:14 GMT</pubDate></item><item><title><![CDATA[Reply to TCP Connection Open/Close on Thu, 26 Aug 2010 21:40:25 GMT]]></title><description><![CDATA[<p dir="auto">Use "TCP with keepalive"</p>
]]></description><link>https://forum.mango-os.com/post/4199</link><guid isPermaLink="true">https://forum.mango-os.com/post/4199</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 26 Aug 2010 21:40:25 GMT</pubDate></item></channel></rss>