Discuss this help topic in SecureBlackbox Forum

TElBaseSocketClient.SocketTimeout

TElBaseSocketClient     See also     


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


Specifies the timeout for socket operations.

Declaration

[C#]
    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)

[Java]
    int getSocketTimeout();
    void setSocketTimeout(int Value);

Description

Specifies the maximum time of inactivity after which socket operation is cancelled and is considered as expired.

If you try to connect, read or write something from/to the socket and the attempt is unsuccessful for specified number of milliseconds, the operation is canceled with timeout error. This property is meaningful only when the internal socket is used.

If this property value is 0, the operation will expire after system-default timeout (which is 2 hrs 8 min for TCP stack). The default value is 60000 ms (1 min).

See also:     SocketBinding     SocketSettings     UseInternalSocket    

Discuss this help topic in SecureBlackbox Forum