Knowledge Base Ask Cody Resources



 
Is there any difference in the way svc_run_ex(0) and svc_run_ex(n) work between version 3.1 and 4.01?
There is no difference as far as UDP connections go. That is if svc_run_ex(0)is called, RPC runs without any threads and deals with the requests one by one. If svc_run_ex(n)is called this means that RPC runs with [n] pre-created threads and deals with the requests using all available threads. In this way, the thread number is limited to [n] regardless of how many clients are connected to server.

For TCP connections however a new thread is created for any new connected client regardless of whether svc_run_ex(0) or svc_run_ex(n) is called.





11/21/2024   Legal notices | PRIVACY Policy |