| |
| | |
| Is there any difference in the way svc_run_ex(0) and svc_run_ex(n) work between version 3.1 and 4.01? |
|
| | |
| Product: Distinct RPC for C, C++, Delphi | Topic: Server Multithreading | Last updated: 3/30/2008 | | | | Q.: Is there any difference in the way svc_run_ex(0) and svc_run_ex(n) work between version 3.1 and 4.01? | A.: 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. |
If you did not find what you are looking for:
|
![]()
|
|