Hello,

I am using the net-snmp C API and would like to determine the size of my 
request and response PDUs so that I can keep track of how much data my
application sends and receives.  Could someone shed some light on how I might 
accomplish this?  I'd like to get the numbers that are equivalent to the
total packet sizes I see in Wireshark, etc.

I've tried using the sizeof(*pdu), but this always seems to result in the same 
number (272).

Any help would be appreciated!

Thanks,
Brandon

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to