| |
| | |
| Distinct RPC for C, C++, Delphi : Timeout values frequently asked questions |
|
| | |
|
Page 1 of 1 | Product: Distinct RPC for C, C++, Delphi | Topic: Timeout values | Last updated: 3/31/2008 | | | | Q.: How can I change the timeout settings in the rpc client?
| A.: The function call clnt_control() can be used to change timeout settings for the client objects.
There is one timeout for waiting for a reply, which is for both TCP and UDP clients. Function clnt_call() will return TIMEOUT error if it doesn't receive reply during this timeout value.
clnt_control(clnt, CLSET_TIMEOUT, pointer_to_timeval)
There is one resend timeout specifically for the UDP client, the UDP client may resend the request if it doesn't receive a reply during this timeout value.
clnt_control(clnt, CLSET_RETRY_TIMEOUT, ...)
| | | Do you find this information useful ? Yes No Not Sure |
| | Product: Distinct RPC for C, C++, Delphi | Topic: Timeout values | Last updated: 3/31/2008 | | | | Q.: What is the difference between the timeout value in clnt_control (clnt, CLSET_TIMEOUT, ....) which is sent when the client is created and the value set in HKEY_LOCAL_MACHINE\SOFTWARE\Distinct\DLLS\RPC32\Timeout? | A.: HKEY_LOCAL_MACHINE\SOFTWARE\Distinct\DLLS\RPC32\Timeout is the default timeout value for the client to wait for a reply.
All clients on this machine will use this value if not changed.
But the client wait-for-answer timeout value can be changed
by using clnt_control (clnt, CLSET_TIMEOUT, ....). If the
above clnt_control() is called, the default value from
registry will be ignored for that specified client.
| | | Do you find this information useful ? Yes No Not Sure |
|
Page 1 of 1
If you did not find what you are looking for:
|
![]()
|
|