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

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/f098713a-0bd4-4cac-b3b0-df6dc6e1ae76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to