Hello,

I created a client and server Application in Delphi and am having a very serious problem.

The client is sending a message to the server every 1 millisecond to see how the server performs and my server is supposed to respond with 'Response: Server recieved text.', and it does most of the time but sometimes it sends 'Response: Server recieved text.Response: Server recieved text.' in one line, which it shouldn't.

Also, how do I read all the rest of the characters in a string EXCEPT the first 4 that are in the string?

The application itself is about 600KB in size. But it is using 60 MB of memory.

How can I make it free memory?

Could someone please help me?

Thank you.