Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
在客户端节点中,每次发送请求时都要判断client_->wait_for_service这个函数么,还是说可以初始化等待一次,之后的请求可以不用加这个判断了。
@Zln4ever 都可以。如果你初始化时判断,能保证server没上线时不会发出请求;你请求时判断,能保证每次请求前server都在线
@Lorry 好的谢谢老哥