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
 



        
 
Can I adjust the connection timeout value and the connection and data buffer sizes?
 
Product: Distinct VITTopic: FTP Client and ServerLast updated: 3/20/2008
 
Q.: Can I adjust the connection timeout value and the connection and data buffer sizes?
A.: Yes all of these are done through a registry entry so that the end user of your application may adjust these too if necessary.

The parameters used to control the behavior of the Distinct FTP-32 library are stored under the following registry path.

HKEY_LOCAL_MACHINE\SOFTWARE\Distinct\DLLS\FTP32

Timeout REG_DWORD number of seconds
Specifies the default timeout in seconds used for the FTP connection. This is the timeout value used for various network operations. The default value is 20 seconds. If you are using a serial connection you may want to increase this to 40.

BufferSize REG_DWORD number of bytes
Specifies the default buffer size in bytes used for data transfer. The default value is 32768 bytes and the permitted range is from 1024 to 32768 bytes.

CtrlBuffer REG_DWORD number of bytes
Specifies the default buffer size in bytes used for the control connection. The default value is 1024 bytes and the permitted range is 128 to 4096 bytes.

Do you find this information useful ?       Yes   No   Not Sure




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

  3/11/2010   Legal notices | PRIVACY Policy |