PowerTCP FTP 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(0)>
Public Overrides Property ReceiveTimeout As Integer
Dim instance As TcpSocketOption
Dim value As Integer
 
instance.ReceiveTimeout = value
 
value = instance.ReceiveTimeout
[DefaultValue(0)]
public override int ReceiveTimeout {get; set;}
[DefaultValue(0)]
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 FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic