Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Linux Networking QT
I am developing an MIB browser in Qt using snmp++.
But why is my snmp ports(161,162) remains closed even if snmpd and snmptrapd is running????
I have installed both net-snmp and snmp++.I guess it might be the conflict between net-snmp and snmp++, but i dont know to remove them, help !!! I totally messed up this time.I like to to stick with snmp++.
Posted 9-Mar-11 4:08am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If by "the ports remain closed" means that the sockets are not binding with the port then there could be a number of problems, possibly the one you mentioned.
 
Regards,
 
K.D
  Permalink  
Comments
n4nidhin at 12-Mar-11 21:00pm
   
but i tried with snmpB program also.still it is not opening.I am using Ubuntu ultimate 2.8 on a Vaio E machine.
Kurt Degiorgio at 18-Mar-11 5:41am
   
can you post the code? as i think you are not binding successfully with the port

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.1411022.1 | Last Updated 9 Mar 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100