Closed sunhuachuang closed 3 years ago
Because p2p network is complex and unstable, so , add delivery feedback for stable connection.
u32
ReceiveMessage::Delivery(u32, bool)
ReceiveMessage::StableConnect(u32, ..)
ReceiveMessage::StableResult(u32, ..)
ReceiveMessage::Data(u32, ..)
SendMessage::StableConnect(u32, ..)
SendMessage::StableResult(u32, ...)
SendMessage::Data(u32, ..)
Ok, Test on relay example.
Why
Because p2p network is complex and unstable, so , add delivery feedback for stable connection.
How
u32
as data's symbol. and only work on stable connection, not DHT.ReceiveMessage::Delivery(u32, bool)
ReceiveMessage::StableConnect(u32, ..)
,ReceiveMessage::StableResult(u32, ..)
,ReceiveMessage::Data(u32, ..)
SendMessage::StableConnect(u32, ..)
,SendMessage::StableResult(u32, ...)
,SendMessage::Data(u32, ..)