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 { |