Globalized send and receive support functions
The send( ) and receive( ) functions support binary transfer of opaque data types.
That is, they convert the opaque data type from its internal representation
on the client computer to its internal representation on the server
computer (where it is stored), as follows:
- The receive( ) function converts the internal representation of the opaque data type on the client computer to its internal representation on the server computer.
- The send( ) function converts the internal representation of the opaque data type on the server computer to its internal representation on the client computer.
If the internal representation contains character data, the client
application cannot perform any locale-specific translations, including these.
Locale-sensitive task | For more information |
---|---|
Any code-set conversion on character data | Character strings in opaque-type support functions |
Any handling of multibyte or wide characters in character data | The library |
When you write receive( ) and send( ) support functions as C UDRs, you must ensure that these functions handle these locale-sensitive tasks correctly.