washo4evr / Socket.io-v1.x-Library

Socket.io Library for Arduino
108 stars 58 forks source link

Added missing return on success in monitor(), To fix the if condition inside the loop(). #72

Closed jbteja closed 4 years ago

jbteja commented 4 years ago

Fixes #12 … There is no "1 or true" return in "SocketIOClient::monitor" function , So it always returns 0 and Due to which there is no chance of getting to the if (client.monitor()) in loop.