DefaultTimeout Property
An initial timeout value to be used by incoming connections.
Syntax
ANSI (Cross Platform) int GetDefaultTimeout();
int SetDefaultTimeout(int iDefaultTimeout); Unicode (Windows) INT GetDefaultTimeout();
INT SetDefaultTimeout(INT iDefaultTimeout);
@property (nonatomic,readwrite,assign,getter=defaultTimeout,setter=setDefaultTimeout:) int defaultTimeout; - (int)defaultTimeout; - (void)setDefaultTimeout:(int)newDefaultTimeout;
#define PID_SFTPSERVER_DEFAULTTIMEOUT 12 IPWORKSSSH_EXTERNAL void* IPWORKSSSH_CALL IPWorksSSH_SFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSSH_EXTERNAL int IPWORKSSSH_CALL IPWorksSSH_SFTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
60
Remarks
This property is used by the class to set the operational timeout value of all inbound connections once they are established. If the timeout is set to 0, all inbound connections will behave asynchronously. The default value is 60, meaning the class will behave synchronously.
Data Type
Integer