tcp udp 改协程
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "Local_Server/Data_Feed/Data_Feed.h"
|
||||
#include "../server/Global.h"
|
||||
void Data_Feed_UDP_Server::handle_in_loop() {
|
||||
svr.tick();
|
||||
ucoro::sync_await(svr.tick_coro());
|
||||
}
|
||||
bool Data_Feed_UDP_Server::_open() {
|
||||
svr.set_bind_address("0.0.0.0", port);
|
||||
|
||||
Reference in New Issue
Block a user