SocketIO: Can't receive events

I can receive image events when I connect with the browser. So, I’m pretty sure io.on(“connection”) should work. But the console doesn’t print aaaaa, so I bet I am doing something wrong. Can you guys help?

The SocketIO DAT is a v2 client, so ensure that you have the allowEIO3 arg set to true when creating your socketio server so that it can accept v2 client connections.

This solved it thank you!