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
The client doesn't get the event. So the listener method isn't fired.
publicasynconStartGame(socket: Socket,listiner: (options: IStartGame)=>void){
socket.on("start_game",()=>console.log(options));// attempt to get { start: false, symbol: "o" } but is never fired}
I have try with Chrome and Firefox is working fine that expected.
Describe the bug
I have a game with client is in react/typescript, server is in nodeJs/express/typescript
When I try to emit on specific room with
The client doesn't get the event. So the listener method isn't fired.
Notice that socket.emit is working fine.
To Reproduce
Try to communicate with a server and a client using Safari 15.5
Server
"socket.io": "^4.5.1",
Client
"socket.io-client": "^4.5.1"
Platform:
Additional context
socket-controllers
librairie that allow me to write decorator for event handling socket-controllersThe text was updated successfully, but these errors were encountered: