From the netty-socketio docs I saw the below example for connecting the websocket,
Configuration config = new Configuration();
config.setHostname("localhost");
config.setPort(8444);
SocketIOServer server = new SocketIOServer(config);
server.addEventListener("ackevnt", Class1, DataListener1);
server.addEventListener("getdet", Class2, DataListener2);
server.start();
My requirement is I don't want to start the separate socket server. I need to integrate the netty-socket io in tomcat. I went through all the examples(stackoverflow and githup issues). Everyone suggested the above example only.
I am going to implement The endpoint way of the implementation, WebSocket is a protocol sent over TCP after an initial HTTP handshake. This request has been upgraded and the response contains the critical status code of 101 ( ref ).
From the netty-socketio docs I saw the below example for connecting the websocket,
My requirement is I don't want to start the separate socket server. I need to integrate the netty-socket io in tomcat. I went through all the examples(stackoverflow and githup issues). Everyone suggested the above example only.
I am going to implement The endpoint way of the implementation, WebSocket is a protocol sent over TCP after an initial HTTP handshake. This request has been upgraded and the response contains the critical status code of 101 ( ref ).
Can this framework achieve this?