[SNMP4J] SNMP GET questions
Frank Fock
fock at agentpp.com
Fri Oct 16 01:04:26 CEST 2009
Hi Simon,
simon sew wrote:
> Hi there,
> Would like to ask a few quick questions. Sorry for my broken english.
>
> 1st) I would like to send a SNMP GET to a device. Instead of sending the response back to the original port (Think it's 161). Can I change the port no? Say port 199? If yes, how can I implement this?
You can, although this would violate the SNMP standard,
but I think you know that already ;-)
Just set a different target address for the response,
than you got as peer address with the request.
> 2nd) Is it possible to have something like this.
> Say I have 1 class to send SNMP GET (port 161) and 1 class purely to receive the trap (SNMP GET response - port 162).
A RESPONSE PDU is not a TRAP PDU.
Regards,
Frank
> I would like to use the answer from 1st question to implement this if possible. I guess it would run into port binding exception.
> Have anyone facing similiar issues like mine. Are you able to solve it?
>
> Thank you.
>
>
> Regards,
> Simon
>
>
>
> _________________________________________________________________
> Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
> http://www.microsoft.com/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:ms-my:SI_SB_3:092010
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list