#ifndef __SNMPSOCK_H_ #define __SNMPSOCK_H_ #include class SNMP_socket { int sock; int timeout; int retries; int port; pthread_t listening_thr; public: SNMP_socket(int timeout, int retries, int port=0); ~SNMP_socket(); unsigned char *call(int len,int type,char *addr,char *data,int &buflen); }; #endif