flyer

Results 3 issues of flyer

local json_before = {"key":[{},{},{},{},{},{},{},{},{},{}],"roleAttr":{"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"0":0,"1":0,"2":0}} local list = json.decode(json_before ); local json_after = json.encode(list); 此时的json_afre为:{"key":[[],[],[],[],[],[],[],[],[],[]],"roleAttr":{"1":0,"0":0,"3":0,"2":0,"5":0,"4":0,"7":0,"6":0,"9":0,"8":0}} 为何不一样?

请帮我看看哪里用错了。 这是server #include "asio.hpp" #include #include #include #include "ikcp.h" #define IPADDRESS "10.246.106.114" #define UDP_PORT 11000 using asio::ip::udp; using asio::ip::address; uint32_t conv = 123; ikcpcb* service_kcp = NULL; void Sender(const std::string&...

socket recv message delay ,especially when the message send frequently,the delay is later ,and if the delay happend,even if the message send normal,the recv delay is exist,why?and the api get_buffered_amount()...