Skip to content
Advertisement

Tag: socket.io

socketio.emit doesn’t work netty socketio

I’m working with socketio and netty with java and I’m new to both of them. my client side code looks like this. The event handler is as shown below. The server starter code is shown below. I’m getting a connection registration on the OnConnect annoted method, but the method seems to run two times cause I get the log twice

Advertisement