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
I have used this module in a realtime web game. The websocket module I use is uws. But sometimes I get the error saying it couldn't perform send function on null and located to this line of my code. But this doesn't happen all the time. It only happens occasionally so it is hard to reproduce. What could possibly be the reason?
I have used this module in a realtime web game. The websocket module I use is
uws. But sometimes I get the error saying it couldn't performsendfunction onnulland located to this line of my code. But this doesn't happen all the time. It only happens occasionally so it is hard to reproduce. What could possibly be the reason?The above code is similar to
socket.ioexample in your code but I am actually using a native browser websocket implementation.I wanted to give a
uws/wsimplementation example to your code but I don't have much free time at the moment.