PowerTCP Mail for .NET
ReceiveTimeout Property (TcpSocketOption)




Gets or sets a value that specifies the amount of time after which the underlying TCP Socket.Receive call will time out.
Syntax
<DefaultValueAttribute()>
Public Overrides Property ReceiveTimeout As Integer
Dim instance As TcpSocketOption
Dim value As Integer
 
instance.ReceiveTimeout = value
 
value = instance.ReceiveTimeout
[DefaultValue()]
public override int ReceiveTimeout {get; set;}
[DefaultValue()]
public: __property int get_ReceiveTimeout() override;
public: __property void set_ReceiveTimeout( 
   int value
) override;
[DefaultValue()]
public:
property int ReceiveTimeout {
   int get() override;
   void set (    int value) override;
}

Property Value

The time-out value in milliseconds.
Remarks
Values between 1 and 499 will be changed to 500, as 500 is the minimum positive value. A value of 0 or -1 indicates an infinite time-out period.
See Also

Reference

TcpSocketOption Class
TcpSocketOption Members


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic