Login  
Search All Forums
Dart Home | PowerTCP SFTP & SSH for .NET | Custom Development Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
AuthorForum: PowerTCP SFTP & SSH for .NET
Topic: SessionStream.CanTimeout Always False
raymegal

From: USA
Posts: 14
Member Since: 09/18/14
posted May 2, 2018 6:00 PM

I have set SessionStream.ReadTimeout, and the session definitely does timeout, so, Why does SessionStream.CanTimeout always return false?
Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted May 3, 2018 5:51 PM

Hello,

SessionStream derives from Stream, which is why that property is present. It appears it was overlooked when the class was made; I've entered this as TFS1038 to override it to return true. For information or updates on its status, please contact jamie.powell@dart.com

We're currently investigating your other forum post, we expect to have a response for that tomorrow.
raymegal

From: USA
Posts: 14
Member Since: 09/18/14
posted May 3, 2018 5:54 PM

Thanks for the update. Much appreciated.
raymegal

From: USA
Posts: 14
Member Since: 09/18/14
posted May 7, 2018 11:01 AM

The CanTimeout property returns True with version 4.10.0.2. Thanks for the quick fix.

For my own edification, When should CanTimeout return False?
Nick B (Admin)

From: Utica, NY USA
Posts: 584
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted May 7, 2018 1:24 PM

Hello,

It will always return true, just like NetworkStream.CanTimeout.
Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX