public synchronized NativeTcp pullTcpConnection(String localAddress,int localPort){
  EndPointInfo local=new EndPointInfo(localAddress,localPort,ConnectionType.TCP);
  Queue<NativeTcp> queue=incomingConnections.get(local);
  if (queue == null || queue.isEmpty()) {
    return null;
  }
  NativeTcp connection=queue.poll();
  openedTcpConnections.add(connection);
  return connection;
}

public synchronized NativeTcp pullTcpConnection ( String localAddress , int localPort ) { EndPointInfo local = new EndPointInfo ( localAddress , localPort , ConnectionType . TCP ) ; Queue < NativeTcp > queue = incomingConnections . get ( local ) ; if ( queue == null || queue . isEmpty ( ) ) { return null ; } NativeTcp connection = queue . poll ( ) ; openedTcpConnections . add ( connection ) ; return connection ; }
return a tcp connection for the given local address if there is any inbound remote connection to it
