Hi Kumar, you cannot connect to some host in random. Check the remote host has running snmp service and try to connect to it. more over please put us details requrement and code where you face problem.
Thanks, Prakash Mobile: +919940082765 Saktyavesh ~ Lets make a Better Tomorrow http://www.saktyavesh.org/ http://saktyavesh.blogspot.com/ Vision: To be a platform and an enabler for positive social change by focusing on two critical areas of community development namely Education and Healthcare 2010/1/2 <[email protected]> > Send SNMP4J mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.agentpp.org/mailman/listinfo/snmp4j > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of SNMP4J digest..." > > > Today's Topics: > > 1. Problem Regarding connection (kumar saurbh) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 2 Jan 2010 13:44:27 +0530 > From: kumar saurbh <[email protected]> > Subject: [SNMP4J] Problem Regarding connection > To: "[email protected]" <[email protected]> > Cc: kumar saurbh <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi all, > > I am trying to connect to the Some host with ipaddress and port 161 but > when > transport.listen() method gets called it goes in listen mode but after that > the response pdu is null. > > can u guys give me one example to connect with some host having details > like > ipaddress,port and community string and snmp version. Plz send this to my > id > [email protected] > > Thanks in advance. > > Thanks & Regards > Kumar Saurabh > > > > -- > Thanks & Regards > Kumar Saurabh > > > ------------------------------ > > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j > > > End of SNMP4J Digest, Vol 72, Issue 2 > ************************************* > _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
