From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am having trouble trying to build a global buffer between TCP_DATAREADY callbacks. I have attached the code for the callback. Here are the lines that are giving me trouble.
It seems that each strcat is working like a strcpy and eradicating the previous value of the strcat. The linked list is declared globally. The pointer to the particular node I am dealing with is re-found each time I get a new buffer in with TCP_DATAREADY. When it is all done, and I try printing with printf(ptrMem->pszScript), I only print the last buffer, not the accumulated buffers. Please help. I am out of ideas.