You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int Participants never gets incremented after entering Nickname causing "if ( participants<0)" to evaluate true and put the program in an eternal lock with "_cond.wait ( _lock )".
Trying to tinker with it to get it to work but not having much success. Pretty new to this stuff. My Node server is only receiving user connected/disconnected events. If I'm suppose to see things like "login" and "add user" I'm definitely not seeing those either. Probably due to the aforementioned issue.
The text was updated successfully, but these errors were encountered:
Hi, the wait condition is to ensure the login is succeed.
Indeed I have met a similar issue before: If you're using incompatible version of socket.io and its modules, some functions will not work.(In my case latest socket.io and an older socket.io-adapter makes broadcast broken) ,result in the console client will never receive new broadcasted messages.
int Participants never gets incremented after entering Nickname causing "if ( participants<0)" to evaluate true and put the program in an eternal lock with "_cond.wait ( _lock )".
Trying to tinker with it to get it to work but not having much success. Pretty new to this stuff. My Node server is only receiving user connected/disconnected events. If I'm suppose to see things like "login" and "add user" I'm definitely not seeing those either. Probably due to the aforementioned issue.
The text was updated successfully, but these errors were encountered: