Hi all,
I have to write an application working as a delay server. It's named CApp.
CApp receives a message from a device and after changing something in the message 's data, it sends this message to the host. In the other way, it receives the response from host and sends back to the device.
CApp has worked but after several hours, it down. I have to restart it or sometime I have to restart my PC. I think the problem causes of the memory or something like that, but I can not find them.
I attached the code file below.
So someone can help me out of this trouble ?
Thank you so much.
I have to write an application working as a delay server. It's named CApp.
CApp receives a message from a device and after changing something in the message 's data, it sends this message to the host. In the other way, it receives the response from host and sends back to the device.
CApp has worked but after several hours, it down. I have to restart it or sometime I have to restart my PC. I think the problem causes of the memory or something like that, but I can not find them.
I attached the code file below.
So someone can help me out of this trouble ?
Thank you so much.
Attachments
Last edited by a moderator: