Hi,
I have a C++ server and a node.js client. I've observed that sometime my node.js client is reporting a connection failure although the server is running. This makes me wonder if my server is really ready to accept incoming requests.
Here is how I do this:
1 - Start node.js client
2 - Spawn a C++ server
3 - Wait for server to call `BuildAndStart` to provide the gRPC port to the node.js client
4 - At the same time: the C++ code calls `Wait` and the node.js client initializes its gRPC connection and sends his first request
Is this a safe scenario? If not, how long should I wait until I can send the first request?
Thanks,
Manu