Function NetSource.empty

Checks if the socket has been closed by the sender. Does not check for data based closures (html or http).

bool empty();