服务端 @Configuration public class NettySocketConfig { private static final Logger logger = LoggerFactory.getLogger(NettySocketConfig.class); @Bean public SocketIOServer socketIOServer() { //创建Socket,并设置监听端口 com.corundumstudio.socketio.Configuration con