connected property

bool connected
getter/setter pair

Implementation

bool connected = false, connecting = false, closed = false;