This is a discussion on Re: Endian - ness issue within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> On Thu, 20 Oct 2005 10:30:07 +0100, Dave Shield <D.T.Shield@...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>>>> On Thu, 20 Oct 2005 10:30:07 +0100, Dave Shield <D.T.Shield@csc.liv.ac.uk> said:
Dave> So the "natural" representation of an IP address (on Linux, at least) Dave> *is* an integer. Though that header file doesn't seem to indicate Dave> whether this should be host-order or network-order. :-( I was talking about *our* routines. IE, the SNMP data type is a 4 byte string not an integer. Hence the confusion because some APIs (unix) expect an int, and some (SNMP) expects a string. The interface (net-snmp) is thus stuck holding the bag. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |