good'day

after creating c code from MIB file, the code snippet:

snmp_set_var_typed_value(request->requestvb, ASN_IPADDRESS,
            /* XXX: a pointer to the scalar's data */
            ,
            /*XXX: the length*/
            );

My question is : what is the data type to represent ip address and how is it
represent?
can i use sth like below????

char * address = "192.168.4.254";


thanks

victor




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
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