Function Socket.isAlive

bool isAlive() nothrow @property @nogc @trusted const;

Returns

true if this is a valid, alive socket.