Homepage: https://www.gnu.org/software/emacs
Author: Lars Magne Ingebrigtsen
Open network processes, possibly with encryption
This library provides the function `open-network-stream', which provides a higher-level interface for opening TCP network processes than the built-in function `make-network-process'. In addition to plain connections, it supports TLS/SSL and STARTTLS connections. Usage example: (open-network-stream "*nnimap*" buffer address port :type 'network :capability-command "1 CAPABILITY\r\n" :success " OK " :starttls-function (lambda (capabilities) (if (not (string-match "STARTTLS" capabilities)) nil "1 STARTTLS\r\n")))