isConnected property
Specifies whether the connection is still open.
Sending data when this is false will throw an error
Implementation
bool isConnected = true;
Specifies whether the connection is still open.
Sending data when this is false will throw an error
bool isConnected = true;