Function: erc-dcc-host

erc-dcc-host is a byte-compiled function defined in erc-dcc.el.gz.

Signature

(erc-dcc-host)

Documentation

Determine the IP address we are using.

If variable erc-dcc-host is non-nil, use it. Otherwise call erc-dcc-get-host on the erc-server-process.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-dcc.el.gz
(defun erc-dcc-host ()
  "Determine the IP address we are using.
If variable `erc-dcc-host' is non-nil, use it.  Otherwise call
`erc-dcc-get-host' on the erc-server-process."
  (or erc-dcc-listen-host (erc-dcc-get-host erc-server-process)
      (error "Unable to determine local address")))