Function StreamPeerTCP.isConnectedToHost

Returns true if this peer is currently connected to a host, false otherwise.

bool isConnectedToHost() nothrow @nogc const;