Monica Messori - 2012-12-18

Hello,
I used java version of libnodave to connect to a PLC and reading / writing data in polling (every 10 seconds).
After some hours my procedure reads correctly but not writes: I haven't errors or exception on write procedure (the method writeBytes returns 0) I noticed that In object TCPConnection there isn't an implementation of disconnectPLC method, so when I started my task I connect to PLC, then read and write in polling.
When the user want to stop the procedure I close the socket TCP used in communication otherwise my communication remain connected all the time.

Is it a problem if I never disconnect PLC?
How can I do that if there isn't the method implementation in TCPConnection?

Monica