Variable: nntp-open-connection-function

nntp-open-connection-function is a variable defined in nntp.el.gz.

Value

nntp-open-network-stream

Documentation

Method for connecting to a remote system.

It should be a function, which is called with the output buffer as its single argument, or one of the following special values:

- nntp-open-network-stream specifies a network connection,
  upgrading to a TLS connection via STARTTLS if possible.
- nntp-open-plain-stream specifies an unencrypted network
  connection (no STARTTLS upgrade is attempted).
- nntp-open-tls-stream specifies a TLS network connection (the
  equivalent value nntp-open-ssl-stream is accepted for backwards
  compatibility).

Apart from the above special values, valid functions are as follows; please refer to their respective doc string for more information. For direct connections:
- nntp-open-netcat-stream
- nntp-open-telnet-stream
For indirect connections:
- nntp-open-via-rlogin-and-netcat
- nntp-open-via-rlogin-and-telnet
- nntp-open-via-telnet-and-telnet

This is a Gnus server variable. See Info node (gnus)Select Methods.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nntp.el.gz
(defvoo nntp-open-connection-function 'nntp-open-network-stream
  "Method for connecting to a remote system.
It should be a function, which is called with the output buffer
as its single argument, or one of the following special values:

- `nntp-open-network-stream' specifies a network connection,
  upgrading to a TLS connection via STARTTLS if possible.
- `nntp-open-plain-stream' specifies an unencrypted network
  connection (no STARTTLS upgrade is attempted).
- `nntp-open-tls-stream' specifies a TLS network connection (the
  equivalent value `nntp-open-ssl-stream' is accepted for backwards
  compatibility).

Apart from the above special values, valid functions are as
follows; please refer to their respective doc string for more
information.
For direct connections:
- `nntp-open-netcat-stream'
- `nntp-open-telnet-stream'
For indirect connections:
- `nntp-open-via-rlogin-and-netcat'
- `nntp-open-via-rlogin-and-telnet'
- `nntp-open-via-telnet-and-telnet'")