I would like to know if there is a limit or rollover value set to the HANDLE output of the TLS_SOCKET_2 Function Block. I have tested opening and closing loopback Server + Client sockets and it seems to increment every time the connection is made, but I have not reached a value that resets the count.
In summary I would like to know the answer to the following:
1. By setting the ACTIVATE input to FALSE (after previously being TRUE and a valid HANDLE being output), does this socket/handle get closed and reset, or does it just avoid re-using that socket/handle by incrementing the HANDLE output value.
2. Is there a rollover/maximum value for sockets/handles for either scenario:
3. Server and Client connections are continuously made without being closed. (The sockets all stay open)
4. Server and Client connections are continuously made and closed.