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)

  Print Answers RSS
0 George Jonsson 215
1 Kornfeld Eliyahu Peter 169
2 OriginalGriff 120
3 PIEBALDconsult 110
4 Zoltán Zörgő 99
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web04 | 2.8.141220.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