[twsocket] TProxyInfo from User Made page

2007-07-27 Thread Arno Garrels
Hello Maurizio, TProxyInfo does not parse the proxy-strings correctly since here in W2K entries are separated by a space, I changed below function to accept multiple separator chars. Now when I pass separators [';', ' '] the component works fine. procedure SplitString(const AString: string;

[twsocket] What determines the number of concurrent connections?

2007-07-27 Thread info2004
Hi, I have written a server based on OverbyteIcsTcpSrv1.pas. If I test the original server(OverbyteIcsTcpSrv1.pas) I can make 100 connections to this server, send some data and then disconnect. When I test my server, as I run through the 1 to 100 connects, I start to get disconnects, and

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread info2004
Francois, It's both machines that limit the connections with my server, but the source server example works just fine. I will have a look through the searchable archive. ...Andy Francois Piette wrote: I am testing on an XP machine, and I have also tried testing on a Server 2003 machine, and

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread info2004
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

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread Francois Piette
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

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread info2004
Wilfried Mestdagh wrote: Hello, What does ListenBacklog do? It sets the maximum number of connections that are pending for acception. For example, if it is set to 5, and there are 10 clients connecting at the very same moment, only 5 will be in that queue. Normally you will never have

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread Francois Piette
I am testing on an XP machine, and I have also tried testing on a Server 2003 machine, and combinations of both with the same results. It is the XP machine which limit the number of connections. With Win2K3, you should be able to have thousands of connections, provided you have anough RAM.

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread Wilfried Mestdagh
Hello, What does ListenBacklog do? It sets the maximum number of connections that are pending for acception. For example, if it is set to 5, and there are 10 clients connecting at the very same moment, only 5 will be in that queue. Normally you will never have problems with it if you accept

Re: [twsocket] What determines the number of concurrent connections?

2007-07-27 Thread Francois Piette
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 ? Contribute to the SSL

Re: [twsocket] TProxyInfo from User Made page

2007-07-27 Thread Maurizio Lotauro
Scrive Arno Garrels [EMAIL PROTECTED]: Hello Maurizio, Hello Arno, TProxyInfo does not parse the proxy-strings correctly since here in W2K entries are separated by a space, I changed below function to accept multiple separator chars. Now when I pass separators [';', ' '] the component