public static SnmpEngineId createEngineId(int port,int iana) throws UnknownHostException {
  InetAddress address=null;
  address=InetAddress.getLocalHost();
  return createEngineId(address,port,iana);
}

public static SnmpEngineId createEngineId ( int port , int iana ) throws UnknownHostException { InetAddress address = null ; address = InetAddress . getLocalHost ( ) ; return createEngineId ( address , port , iana ) ; }
generates a unique engine id . the engine id unicity is based on the host ip address and port . the ip address is the localhost one . the creation algorithm uses the passed iana number .
