Open HLFCode opened 3 years ago
Unfortunately .NET (with the targeted versions) does not really support this easily.
There seem to be new overloads with NET5.0+ accepting CancellationTokens, which would also make it easy to add a timeout. Not sure how reliable this would be in practice though.
There should be a way to control the wait time when opening a connection. It seems that ReadTimeout and WriteTimeout only work used after a successful Open().
Thanks for an excellent project Mike