Kbase P45846: Using sockets and 4GL Sonic Adapter, getting extraneous data
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/10/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Using sockets and 4GL Sonic Adapter, getting extraneous data appended to end of data
CAUSE:
Application was allocating large memory pointers and copying chunks of data from these pointers to each other. During this complex process data was being copied incorrectly by the application program.
FIX:
Simplify the application by taking data that comes in off the socket and storing it in a temp-table (30K maximum at a time) rather than manipulating memory pointers. The character field in the temp-table can then simply be sent to the 4GL Sonic Adapter by using the appendText message.