Generally, when writing and reading data on a socket, the client and server must agree on the byte order so ABL can consistently interpret, on both ends, the order of bytes that comprise each data type stored in the
MEMPTR region. Thus, the
MEMPTR data type supports the
SET-BYTE-ORDER statement and the
GET-BYTE-ORDER function to set and get the byte order for a
MEMPTR variable. For more information, see
Introduction to External Program Interfaces.