PowerTCP FTP for .NET
ConnectTimeout Property



Gets or sets a value that specifies the amount of time (in milliseconds) after which a call to TcpBase.Connect will time out.
Syntax
<DefaultValueAttribute(-1)>
Public Property ConnectTimeout As Integer
Dim instance As TcpSession
Dim value As Integer
 
instance.ConnectTimeout = value
 
value = instance.ConnectTimeout
[DefaultValue(-1)]
public int ConnectTimeout {get; set;}
[DefaultValue(-1)]
public:
property int ConnectTimeout {
   int get();
   void set (    int value);
}

Property Value

The timeout value in milliseconds. The default value is -1, which defers to the system timeout.
Remarks
This property is used to cancel a connect request early; it does not override the system-level connect timeout.
See Also

Reference

TcpSession Class
TcpSession Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic