Re: [twsocket] using Twsocket with a few thousand clients

2018-08-26 Thread François Piette
> 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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-20 Thread عاشقه كبريائي
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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-13 Thread Moro Alexandre
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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-12 Thread Angus Robertson - Magenta Systems Ltd
> 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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-12 Thread عاشقه كبريائي
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,

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-12 Thread François Piette
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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-12 Thread Angus Robertson - Magenta Systems Ltd
> 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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-11 Thread عاشقه كبريائي
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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-11 Thread François Piette
> 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

Re: [twsocket] using Twsocket with a few thousand clients

2018-08-11 Thread Angus Robertson - Magenta Systems Ltd
> 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