close method

void close()

Implementation

void close() {
  _socket.close();
  _closed = true;
}