Did something sensefull
This commit is contained in:
@@ -29,7 +29,7 @@ InputSocketHandler::InputSocketHandler(StreamSocket streamSocket, std::shared_pt
|
||||
|
||||
void InputSocketHandler::run()
|
||||
{
|
||||
while(true)
|
||||
while(this->socket().poll(100, Poco::Net::Socket::SelectMode::SELECT_ERROR))
|
||||
{
|
||||
Event event = this->queue.pop();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user