public static String extractRemoteHost(String connectionInfo){
  String[] tokens=connectionInfo.split(" ");
  if (tokens.length > 2) {
    return tokens[2];
  }
  return null;
}

public static String extractRemoteHost ( String connectionInfo ) { String [ ] tokens = connectionInfo . split ( " " ) ; if ( tokens . length > 2 ) { return tokens [ 2 ] ; } return null ; }
extract the remote host address from the connection info
