Page 1 of 1

Can't determine when there is an existing connection

Posted: Tue Jul 13, 2021 10:54 pm
by LeePhillippi
I'm connecting to an Envisalink 4 using java.net.Socket. When there's an existing connection using the Envisalink, the new connection doesn't throw an error. All of the connection status methods(isBound, isConnected, etc) return affirmative values as if it was connected. The only difference from a valid connection is that it doesn't respond. I'd like to provide the user with messaging to help them figure out the reason that it isn't connectings.

Is there anyway to do this?
If not, in the next firmware update can you make it throw an error if there's an existing connection?

Re: Can't determine when there is an existing connection

Posted: Sat Jul 17, 2021 9:05 am
by K-Man
That would be an issue with your OS. If the EVl3/4's TPI socket is open already, the new TCP connection is refused.

Your socket create method would fail and should throw some error.

K