Loading src/hldsview.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ gameinfo::HldsView::HldsView(const HldsView &view){ sport = view.sport; saddr = view.saddr; clientSocket = std::make_unique<netplus::udp>(); serverSocket = std::make_unique<netplus::udp>(saddr.c_str(),sport,1,0); memset(challange,0,sizeof(challange)); }catch(netplus::NetException &exp){ GameInfoException ee; Loading @@ -73,7 +73,7 @@ gameinfo::HldsView::HldsView(const HldsView &view){ void gameinfo::HldsView::refresh(HldsData &info) { const std::lock_guard<std::mutex> lock(rlock); clientSocket->connect(serverSocket); clientSocket->connect(saddr,sport); // -------- internal retry loop -------- auto start = std::chrono::steady_clock::now(); Loading Loading
src/hldsview.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ gameinfo::HldsView::HldsView(const HldsView &view){ sport = view.sport; saddr = view.saddr; clientSocket = std::make_unique<netplus::udp>(); serverSocket = std::make_unique<netplus::udp>(saddr.c_str(),sport,1,0); memset(challange,0,sizeof(challange)); }catch(netplus::NetException &exp){ GameInfoException ee; Loading @@ -73,7 +73,7 @@ gameinfo::HldsView::HldsView(const HldsView &view){ void gameinfo::HldsView::refresh(HldsData &info) { const std::lock_guard<std::mutex> lock(rlock); clientSocket->connect(serverSocket); clientSocket->connect(saddr,sport); // -------- internal retry loop -------- auto start = std::chrono::steady_clock::now(); Loading