Open GoogleCodeExporter opened 9 years ago
I suggest that if the clients are reachable by the ModbusTcpSlave.Master
accessor
method we can close all the clients manually:
foreach (TcpClient client in modbusSlave.Masters) {
client.Close ();
}
but the library needs to catch the Exceptions and not to throw them
(see ModbusMasterTcpConnection.CatchExceptionAndRemoveMasterEndPoint)
Original comment by str...@gmail.com
on 18 Feb 2010 at 6:55
Original issue reported on code.google.com by
stroggy...@gmail.com
on 1 Dec 2009 at 2:18