Function ConnectionStream.connected
Determines The current connection status.
If connected
is false, writing to the connection will trigger an
exception. Reading may still succeed as long as there is data left in
the input buffer. Use InputStream.empty
to determine when to stop
reading.
Prototype
bool connected() @property const abstract;
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.