VariablePackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

*eli-daemon-socket-hook*

The value of this variable should be a function that accepts one argument. (It should be acceptable as the first argument to funcall.) The argument will be a port for a socket connection. The function is called to initialize the socket that is used to communicate with Emacs when the Emacs-Lisp interface is started.

The initial value is effectively

(lambda (port) 
  (acl-socket:make-socket :connect :passive :local-port port))

which merely creates a local, passive socket on port. (The actual value is a compiled function object.)

To limit connection to the local machine, use a value similar to this:

(lambda (port)
  (acl-socket:make-socket :connect :passive :local-port port
                         :local-host "127.0.0.1"))

For more information see the documentation on acl-socket:make-socket.


Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version