Lines Matching defs:client
45 ChildConnection client;
89 while (client.socket->isConnected() && client.appactive)
91 RecvSome(client.socket.get(), client.recvb);
92 auto interpret = [this](u32 type, vector<u8> packet) { ProcessPacketsOnServer(client, type, std::move(packet)); };
93 while (ProccessNetworkData(client.recvb, interpret)) {}
100 catch (const std::exception& ) { client.socket->close(); }
127 ChildConnection client{ ++id, std::unique_ptr<de::Socket>(listener.accept()), appActive, vector<u8>{} };
128 clients.push_back(CreateClientThread(std::move(client)));
169 std::future<void> CreateClientThread (ChildConnection client)
171 return std::async( PacketsLoop{ std::move(client), fileStore } );