跳到主要内容

is_connected

判断当前网络连接对象是否已连接

声明

bool is_connected()

参数

参数名描述

返回值

true - 已连接,false - 未连接

使用方式

返回文档