> why when i give each client its own DataAvaialbe i hav eno problems at all
> what is the diffrence ? and should i do that with all other events ?
Your question is not clear.
Please reformulate it and keep a SHORT summary of the previous message, just
enough to understand what you ask.
To have
why when i give each client its own DataAvaialbe i hav eno problems at all
what is the diffrence ? and should i do that with all other events ?
في الأحد، 12 أغسطس 2018 في 7:48 م تمت كتابة ما يلي بواسطة عاشقه كبريائي <
madamma...@gmail.com>:
> I will do the logging I am just a bit confused
Alexandre.
-Message d'origine-
De : TWSocket [mailto:twsocket-boun...@lists.elists.org] De la part de
François Piette
Envoyé : dimanche 12 août 2018 17:02
À : 'ICS support mailing'
Objet : Re: [twsocket] using Twsocket with a few thousand clients
I forget to say that to support a few
> Is there any clear demo to run tcp server in threaded manner ?
> The demos in the source confused me too much is there any updated
> demo to better serv tcp with threading as you suggested ?
Don't worry about a threaded server until you reach a slow down on your
non-threaded version, get the
I will do the logging I am just a bit confused because this is my first
time to use ics ,
Is there any clear demo to run tcp server in threaded manner ? The demos in
the source confused me too much is there any updated demo to better serv
tcp with threading as you suggested ?
On Sat, Aug 11,
I forget to say that to support a few thousand simultaneous client, it is
likely that yu should pour TWSocketServer code into a thread to service,
let's say, 500 client per thread. And you should probably NOT use the main
thread to run TWSocketServer code.
Be aware that ICS is asynchronous and
> Its stopped from listening when I start loop through clients and
> send back data to each one of connected cient
>
> I have a similar server that created with indy with the same code
> logic and can run 1200 clients per port .
The ICS server has been tested with over 1,200 simultaneous
Well I am running this on dedicated server with 64 gb of ram and 10 gb of
vrak this is a huge server
Its stopped from listening when I start loop through clients and send back
data to each one of connected cient
I have a similar server that created with indy with the same code logic and
can run
> i have created a tcp server using Twsocket but after 40 clients connected
> the server stopped from listing
There is nothing in ICS which limits the numbers of simultaneous client.
Only machine and operating system resources are limiting.
To handle a few thousands simultaneous connections, it
> i have created a tcp server using Twsocket but after 40 clients
> connected the server stopped from listing
How do you know that, I don't see anything in your code to check if the
server is listening.
And there is no error handling or logging, so you don't really know
what is happening
i have created a tcp server using Twsocket but after 40 clients connected
the server stopped from listing
i dont use any VCL inside the server i just do some database query and send
some data to all connected clients
i dont know what i am doing wrong
here is my server code
unit Mainserv;
11 matches
Mail list logo