Attempt fix receiving PING
This commit is contained in:
parent
87779b0ec8
commit
5502df5512
2 changed files with 2 additions and 4 deletions
|
|
@ -753,9 +753,7 @@ void end_broadcast(broadcast_ctx_t &ctx) {
|
|||
}
|
||||
|
||||
int recv_ping(decltype(broadcast)::ptr_t ref, socket_e type, asio::ip::address &addr, std::chrono::milliseconds timeout) {
|
||||
constexpr char ping[] = {
|
||||
0x50, 0x49, 0x4E, 0x47
|
||||
};
|
||||
auto constexpr ping = "PING"sv;
|
||||
|
||||
auto messages = std::make_shared<message_queue_t::element_type>();
|
||||
ref->message_queue_queue->raise(type, addr, messages);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue