RTC Forums
August 16, 2022, 01:37:25 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Login Register  
Pages: [1]
Author Topic: Starting a new thread from inside the server  (Read 862 times)
RTC License+
Posts: 15

« on: April 29, 2021, 11:27:25 AM »


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?

D.Tkalcec (RTC)
Posts: 1873

« Reply #1 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
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.022 seconds with 17 queries.