Distinct offers Network Monitor, the ONLY natural language Protocol Analyzer, ONC RPC for C++, .NET and Java, and IntelliTerm, the fastest Terminal Emulator for TN3270, TN5250 and VT420 on the market.

Knowledge Base

   Products   Downloads   Sales   Support   About us
  Knowledge Base  Ask Cody  Manuals  Source Code Library  Resources



        
 
Distinct RPC for C, C++, Delphi : Timeout values frequently asked questions
 

Page 1 of 1  

Product: Distinct RPC for C, C++, DelphiTopic: Timeout valuesLast 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++, DelphiTopic: Timeout valuesLast 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  

Search by Keyword


If you did not find what you are looking for:


Products

 Packet Sniffing
The Distinct Network Monitor is a protocol analyzer for Windows that includes both packet sniffing and network traffic statistical analysis tools.

 Intelliterm
The Most Complete Terminal Emulator for TN3270, TN5250 and DEC VT220 to VT420

 RPC for C and C++
The Fastest Way to Port Your Existing Unix-RPC Applications to Windows

  7/24/2008   Legal notices | PRIVACY Policy | Networking News |         Page Last Modified: 3/31/2008