NetCoreServer
NetCoreServer copied to clipboard
Is it possible to setup a connection timeout (WsClient)?
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?
Related to #101