mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
This commit is contained in:
parent
040df63c98
commit
4e2624459b
153 changed files with 10760 additions and 1695 deletions
|
@ -53,6 +53,7 @@ class UdpServerImpl : public UdpServer {
|
|||
};
|
||||
|
||||
void UdpServerImpl::send(td::UdpMessage &&message) {
|
||||
//LOG(WARNING) << "TO: " << message.address;
|
||||
fd_.send(std::move(message));
|
||||
loop(); // TODO: some yield logic
|
||||
}
|
||||
|
@ -107,6 +108,7 @@ void UdpServerImpl::loop() {
|
|||
if (!o_message) {
|
||||
return Status::OK();
|
||||
}
|
||||
//LOG(WARNING) << "FROM" << o_message.value().address;
|
||||
callback_->on_udp_message(std::move(*o_message));
|
||||
}
|
||||
return Status::OK();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue