add:添加链接本地服务器时自动Get。
This commit is contained in:
parent
6cff24fd13
commit
c4632bcfad
@ -69,10 +69,17 @@ void CClient::run(const std::string& ip, const std::string& port, const std::str
|
|||||||
std::thread thread([&]() { io_context_.run(); });
|
std::thread thread([&]() { io_context_.run(); });
|
||||||
th_down_active_ = std::thread([&]() { judget_down_active(); });
|
th_down_active_ = std::thread([&]() { judget_down_active(); });
|
||||||
|
|
||||||
|
{
|
||||||
auto* bf = new CFrameBuffer();
|
auto* bf = new CFrameBuffer();
|
||||||
bf->type_ = TYPE_GET_ID;
|
bf->type_ = TYPE_GET_ID;
|
||||||
send_frame(bf);
|
send_frame(bf);
|
||||||
delete bf;
|
delete bf;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ip == "127.0.0.1") {
|
||||||
|
get_task_list();
|
||||||
|
}
|
||||||
|
|
||||||
TLOGI("version: {}", VERSION_NUM);
|
TLOGI("version: {}", VERSION_NUM);
|
||||||
TLOGI("opensource: {}", VERSION_URL);
|
TLOGI("opensource: {}", VERSION_URL);
|
||||||
TLOGW("SupportCmd ==>");
|
TLOGW("SupportCmd ==>");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user