NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

Is it possible to setup a connection timeout (WsClient)?

Open alikendarfen opened this issue 2 years ago • 1 comments

A question.

Here is my scenario:

  • the client calls ConnectAsync().
  • the server is not ready yet (in my case a ESP32)
  • then I connect the server
  • But the previous call to ConnectAsync cannot recover and I've to wait for a timeout error (about 20s later)
  • Then a second call to ConnectAsync() is now ok.

Is there a way to specify a connection timeout so that I can avoid waiting for these 20s?

alikendarfen avatar Mar 20 '23 17:03 alikendarfen

Related to #101

ghost avatar Jul 08 '24 09:07 ghost