washo4evr / Socket.io-v1.x-Library

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

Fix RID when no data is sent within the emit from server. #70

Closed dclause closed 4 years ago

dclause commented 4 years ago

From server, you can emit and event such as

socket.emit(RID, data);

But also just

socket.emit(RID);

without any data

In that case, the RID got within the library get's wrongly set to RID"]