char buf[1024]; port.async_read_some(boost::asio::buffer(buf), //这是编译没有问题的 port.async_read_some 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交