In one part of my C++ app, I'm using gRPC as IPC to control a server daemon. When the daemon is not running, there's nothing listening on the designated port.
Nevertheless, the client call is bounded by the deadline. Shouldn't the call fail immediately if there is no port listening ?
This would be the mechanism to decide whether there is an instance of the daemon running, incidentally.
Regards
/Robert