VariablePackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version