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



        
 
What do I need to know about memory allocation when using the RPC libraries?
 
Product: Distinct RPC for C, C++, DelphiTopic: GeneralLast updated: 3/31/2008
 
Q.: What do I need to know about memory allocation when using the RPC libraries?
A.: For CRPC Server applications, you need to use the hook we generated to free the memory that you allocated in your own routines.
For other memory blocks allocated in the Distinct CRPC DLLs, memory will be freed by the DLLs themselves.

For CRPC Client applications, you need to use clnt_freeres() or
xdr_free() to free the memory returned by clnt_call() or similar
calls for the rpc call result. The memory is allocated by
D32-RPC.DLL to hold the result, it cannot be freed by using
free() directly.
Do you find this information useful ?       Yes   No   Not Sure




Search by Keyword


If you did not find what you are looking for:


Products

 Network 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