> However, when queried from manager, the agent returns the . separated
> IPAddress.
No - the agent returns a four-octet binary string (ratehr than an
unsigned long). It's the client that *displays* this as a dotted-quad.
Given the varbind ('vb') that's returned, the code is basically:
printf( "IP Address is %d.%d.%d.%d\n",
vb->val.string[0],
vb->val.string[1],
vb->val.string[2],
vb->val.string[3] );
Dave
-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users