public void addConnectingSocket(Socket socket,InetAddress addr){
synchronized (connectingSockets) {
    connectingSockets.put(socket,new ConnectingSocketInfo(addr));
  }
}

public void addConnectingSocket ( Socket socket , InetAddress addr ) { synchronized ( connectingSockets ) { connectingSockets . put ( socket , new ConnectingSocketInfo ( addr ) ) ; } }
keep track of a socket that is trying to connect ( ) for shutdown purposes
