TOP Server Siemens TCP/IP Ethernet Driver not closing connection
I am using the TOP Server to communicate with an S7 PLC using the Siemens TCP/IP Ethernet Driver, and have noticed that the connection to my PLC is not closed when my client disconnects. The connection status continues to show "established" when I run a Netstat command, and a Wireshark shows the socket is never closed - is this a problem with the driver?
The Siemens TCP/IP Ethernet driver has a hardcoded 30 second timer before the socket is closed - this is to insure that there is no data loss on a prematurely closed socket. If you monitor the connection for 30 seconds you will see that the connection is closed.