question: public static SnmpEngineId createEngineId ( int port ) throws UnknownHostException { int suniana = 42 ; InetAddress address = null ; address = InetAddress . getLocalHost ( ) ; return createEngineId ( address , port , suniana ) ; }
target:  Generates a unique engine Id. The engine Id unicity is based on the host IP address and port. The IP address used is the localhost one. The creation algorithm uses the SUN Microsystems IANA number (42).