sources/network/rconsession.cpp

changeset 198
54d64e5a4204
parent 191
2e6cbacafdc7
child 199
927f4b8ef6f7
child 200
3fb775db4829
equal deleted inserted replaced
196:58d4a48f0904 198:54d64e5a4204
116 send({CLRC_PONG}); 116 send({CLRC_PONG});
117 bumpLastPing(); 117 bumpLastPing();
118 } 118 }
119 } 119 }
120 120
121 // Check for new packets in our socket
121 std::stringstream errors; 122 std::stringstream errors;
122 for (net::Datagram datagram; m_socket.read(datagram, errors);) 123 for (net::Datagram datagram; m_socket.read(datagram, errors);)
123 { 124 {
124 if (errors.tellp() > 0) 125 if (errors.tellp() > 0)
125 { 126 {

mercurial