VariablePackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

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