Function: dictionary-connection-open

dictionary-connection-open is a byte-compiled function defined in dictionary-connection.el.gz.

Signature

(dictionary-connection-open SERVER PORT)

Documentation

Open a connection to SERVER at PORT.

Return a data structure identifying the connection.

Source Code

;; Defined in /usr/src/emacs/lisp/net/dictionary-connection.el.gz
(defun dictionary-connection-open (server port)
  "Open a connection to SERVER at PORT.
Return a data structure identifying the connection."

  (let ((process-buffer (generate-new-buffer (format " connection to %s:%s"
						     server
						     port)))
	(process))
    (with-current-buffer process-buffer
      (setq process (open-network-stream "connection" process-buffer
					 server port))
      (dictionary-connection-create-data process-buffer process (point-min)))))