PowerSNMP for .NET
SendTimeout Property




Gets or sets a value that specifies the amount of time after which the underlying Socket Send call will time out.
Syntax
<DefaultValueAttribute(0)>
Public Property SendTimeout As Integer
Dim instance As SocketOption
Dim value As Integer
 
instance.SendTimeout = value
 
value = instance.SendTimeout
[DefaultValue(0)]
public int SendTimeout {get; set;}
[DefaultValue(0)]
public: __property int get_SendTimeout();
public: __property void set_SendTimeout( 
   int value
);
[DefaultValue(0)]
public:
property int SendTimeout {
   int get();
   void set (    int value);
}

Property Value

The time-out value in milliseconds. The default value is 0, which indicates an infinite time-out period.
Remarks

Values between 1 and 499 will be changed to 500, as 500 is the minimum positive value. Values of 0 and -1 indicate an infinite time-out period.

This option has no affect on CF devices (the Write method will not time out).

See Also

Reference

SocketOption Class
SocketOption Members


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic