SocketTools .NET Edition

IcmpClient.Timeout Property

Gets and sets a value which specifies a timeout period in milliseconds.

[Visual Basic]
Public Property Timeout As Integer
[C#]
public int Timeout {get; set;}

Property Value

An integer value which specifies a timeout period in milliseconds.

Remarks

Setting the Timeout property specifies the number of milliseconds until a blocking operation fails and returns an error.

The timeout period is only used when the client is in blocking mode. Although this property can be changed when the client is in non-blocking mode, the value will be ignored until the client is returned to blocking mode.

For most applications it is recommended the timeout period be set to 3000 milliseconds (3 seconds).

See Also

IcmpClient Class | SocketTools Namespace