Character Set Selection

Based on the character set used on the platform where the agent and subagent are running, you will encounter one of the following three scenarios:

When the DPI subagent sends a DPI OPEN packet, it must specify the character set that it wants to use. The subagent here needs to know or determine in an implementation dependent manner if the agent is running on a system with the same character set as the subagent. If you connect to the agent at loopback, localhost, or your own machine, you might assume that you are using the same character set. As long as you are just using OS/2 on an Intel based processor, it does not matter. Always use the native character set, which is ASCII.

The subagent has two choices:

DPI_NATIVE_CSET

DPI_ASCII_CSET

The DPI packets have a number of fields that are represented as strings. The fields that must be represented in the selected character set are:

Related Information


[Back: The snmp_dpi_u64 Structure]
[Next: Constants, Values, Return Codes, and Include File]