SocketTools .NET Edition

DnsClient.Timeout Property

Set or return the amount of time until a blocking operation fails.

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

Property Value

An integer value which specifies the timeout period in seconds.

Remarks

Setting the Timeout property specifies the number of seconds until a blocking operation fails and the control returns an error. A value of zero indicates that the blocking operation should wait indefinitely.

Note that the Timeout property also determines the amount of time the component will spend attempting to connect to a remote host. If a connection is not established within the given time period, the connection attempt will fail.

See Also

DnsClient Class | SocketTools Namespace | Retry Property