package lan.zold; import com.corundumstudio.socketio.Configuration; import com.corundumstudio.socketio.SocketIOServer; public class ServerHandler { public ServerHandler() { Configuration config = new Configuration(); config.setHostname("localhost"); config.setPort(3000); SocketIOServer socketIoServer = new SocketIOServer(config); Server server = new Server(socketIoServer); server.start(); } }