stefanodimattia / nmodbus

Automatically exported from code.google.com/p/nmodbus
0 stars 0 forks source link

On Close of Modbus Master we are getting REST, ACK, reason TCPSlave is not disposed befor removing from dictionary #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use WireShark to capture the Modbus communication over TCP port 502
1.Try connect to ModbusSlave from ModbusMaster App(I used MiniHMi)
2.Enable the Auto Poll with Poll rate of 50 millisecond.
3.You will be able to see the values from ModbusSlave
4.Close the ModbusMaster 
5.In wireshark you will notice a RST, ACK from Modbus Master.

What is the expected output? What do you see instead?
We should get a FIN, ACK from ModbusMaster.

What version of the product are you using? On what operating system?
1.11.0.0

Please provide any additional information below.
In ModbusTcpSlave's method RemoveMaster...
We are removing the Master from the Dictionary, but the object added was not 
disposed before removing from the dictionary.

Original issue reported on code.google.com by GBMARIMU...@gmail.com on 27 Apr 2015 at 7:36

Attachments: