Thanks James, it compiles and runs OK... perhaps any IBMers on the list want
to take note with the manual and put in this new code (with due credit of

But I'm still naive with pointers, so I dont know how to view the results.
I'm in debug, the snmpget works ok and I'm viewing *pdu, *varbind, str_val
all with varying results but I'm just guessing where I'm meant to look...

 > EVAL *pdu
   (*pdu).pdu_type = ''
   (*pdu).error_status = 0
   (*pdu).error_index = 0
   (*pdu).varbind = SPP:DB82BFF175000300
 > EVAL v
   v.str_val = SPP:*NULL
   v.int_val = SPP:*NULL

Is ths the right place to look, and the program really has returned a NULL


On Thursday 29 November 2001 00:25, James Rich wrote:
> Alright, I think I have some code that should do what the sample code
> intends.  Reading from the comments it looks like you are supposed to make
> up some return values.  So I did.  I also cleaned it up a bit and took off
> some comments that I thought hindered more than help.  It is attached.
> For people on the mailing list if you want the attachment let me know and
> I'll send it to you directly.
> James Rich

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.