On mån, 2007-07-02 at 08:21 +0200, Torben Surmer wrote: > Hi, > > is it possible to write a net-snmp agent in cpp? I only can find > tutorials describing plain c code.
I have never heard of anyone writing one using only the C preprocessor, and I seriously doubt that it is possible. Writing agents using C++ is very doable - you should be able to use e.g. the net-snmp API for that. That you only find C descriptions is due to the fact that the interface is mainly C so you have to put your class pointers in the various user data hooks that you can find. Go ahead and please report any problems back. /MF ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
