Title: Starting a new thread from inside the server Post by: thomh on April 29, 2021, 11:27:25 AM Hi,
I have a server built on the same principle as your RTC_WebServer example. For each incoming call from the client a new working thread is created. But is it possible to start such a working thread on the server itself? Thanks, Thom Title: Re: Starting a new thread from inside the server Post by: D.Tkalcec (RTC) on April 29, 2021, 11:49:35 AM Sorry, but I don't understand your question. If a Client connects to a Server, a Thread will be needed on the Server to handle that Clients requests. For that purpose, every RTC Server already manages a Thread Pool (inside the Server Application), from which Threads are allocated as-needed, to handle all Clients requests. In other words, as far as I can tell, what you are asking for - is how things already work now.
Or did I misunderstand your question? Can you please elaborate and explain with more detail, what is it exactly that you need? Best Regards, Danijel Tkalcec |