public InputStream getInputStream() {
    InputStream inputStream = null;
      try {
        inputStream = socket.getInputStream();
      } catch (IOException e) {
        e.printStackTrace();
      }

      return inputStream;
  }