> > Do you mean the sample program delivered with ICS works OK but the code
you
> > wrote yourself is limited in the number of connections ?
> Yes. Exactly.
>
> I added my stuff to the ProcessData procedure, and added some variables to
the
>   TTcpSrvClient = class(TWSocketClient) def.
>
> Even if I update your orig server to include the new vars in
TTcpSrvClient =
> class(TWSocketClient), your server works, mine does not.

Look for anything you allocate but do not free.
Activating FastMM memory leak detection could help.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be


----- Original Message ----- 
From: "info2004" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Friday, July 27, 2007 3:20 PM
Subject: Re: [twsocket] What determines the number of concurrent
connections?


> Francois,
> Francois Piette wrote:
> >> It's both machines that limit the connections with my server,
> >> but the source server example works just fine.
> >
> > Not sure I understand...
> > Do you mean the sample program delivered with ICS works OK but the code
you
> > wrote yourself is limited in the number of connections ?
> Yes. Exactly.
>
> I added my stuff to the ProcessData procedure, and added some variables to
the
>   TTcpSrvClient = class(TWSocketClient) def.
>
> Even if I update your orig server to include the new vars in
TTcpSrvClient =
> class(TWSocketClient), your server works, mine does not.
>
> Looking through the searchable list, I tried increasing ListenBacklog from
5 to
> 100, and my server now accepts 100 connections. Great.
>
> What does ListenBacklog do?
>
> I am using Turbo Delphi 2006, and the help system is just as crappy as
D2005.
>
> Regards,
>
> Andy
> >
> > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> > --
> > [EMAIL PROTECTED]
> > Author of ICS (Internet Component Suite, freeware)
> > Author of MidWare (Multi-tier framework, freeware)
> > http://www.overbyte.be
> >
>
> -- 
> To unsubscribe or change your settings for TWSocket mailing list
> please goto http://www.elists.org/mailman/listinfo/twsocket
> Visit our website at http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to