rpc-server binding on addr message
This commit is contained in:
parent
90287512e4
commit
ef528ccb3f
@ -56,6 +56,7 @@ int main(int argc, char** argv)
|
|||||||
action->perform_action(std::move(writer), state);
|
action->perform_action(std::move(writer), state);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
std::cout << "binding on 127.0.0.1:13370\n";
|
||||||
auto res = rpc.listen();
|
auto res = rpc.listen();
|
||||||
if (!res.is_ok()) {
|
if (!res.is_ok()) {
|
||||||
std::cout << res.err().msg << "\n";
|
std::cout << res.err().msg << "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user