protected void disconnect ( ) { disconnect0 ( connectedAddress . holder ( ) . getFamily ( ) ) ; connected = false ; connectedAddress = null ; connectedPort = - 1 ; }
Disconnects a previously connected socket . Does nothing if the socket was not connected already .