public class Portmapper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
queryPortFromPortMap(int program,
int version,
java.lang.String serverIP)
Given program and version of a service, query its tcp port number
|
public static int queryPortFromPortMap(int program,
int version,
java.lang.String serverIP)
throws java.io.IOException
program - The program number, used to identify it for RPC calls.version - The program version number, used to identify it for RPC calls.serverIP - The server IP address.java.io.IOException