Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.SocketTimeout

TElSimpleSFTPClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Timeout for socket operations.

Declaration

[C#/Java]
    int SocketTimeout;

[VB.NET]
    Property SocketTimeout As Integer

[Pascal]
    property SocketTimeout: Integer;

[C++]
    int32_t get_SocketTimeout();
    void set_SocketTimeout(int32_t Value);

[PHP]
    integer get_SocketTimeout()
    void set_SocketTimeout(integer $Value)

Description

    Specifies maximum time of inactivity after which socket operation is canceled and it is considered as expired.
    If you try to connect, read or write something from/to socket and the attempt is unsuccessful for specified number of milliseconds the operation is canceled with timeout error. This property is used only when UseInternalSocket is true.
    If this property value is 0, the operation will expire after system-default timeout (which is 2 hrs 8 min for TCP stack).
    Default value is 60000 ms (1 min).

See also:     UseInternalSocket    

Discuss this help topic in SecureBlackbox Forum