Advertisement

07.23.2008 at 03:03PM PDT, ID: 23590364 | Points: 200
[x]
Attachment Details

free memory in INDY10 tcp/ip server

Asked by abctech in Delphi Programming, WInsock, TCP/IP

Tags: Delphi

I'm developing a TCP/IP server in Delphi 2007 with INDY10. The server is activated and a lot of client are connected to him on a GPRS way, around 150; the clients must remain connected all the time but there are communication problems which not allow this, then they can connect to the server for a long time but somehow the communication fails after a while. The server must manage all the communication and the list of context that represents the clients; also it must free memory when it disconnects a socket or a context but it does'nt do it. The server is working about 3-4 hours correctly and then it begins to accumulate memory, cpu usage, and threads.
My real question is: in Indy10, what is the correct way to free memory and threads, close sockets on the different disconnections if I'm working with context?Start Free Trial
[+][-]07.23.2008 at 03:28PM PDT, ID: 22074524

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 11:26PM PDT, ID: 22076491

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 09:26PM PDT, ID: 22108626

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 12:06AM PDT, ID: 22109182

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628