public OutputStream getOutputStream() {
    OutputStream outputStream = null;
    
    try {
      outputStream = socket.getOutputStream();
    } catch (IOException e) {
      e.printStackTrace();
    }
    
    return outputStream;
  }