Add support for TCP sockets.
authorJuanma Barranquero <lekktu@gmail.com>
Mon, 30 Oct 2006 23:24:18 +0000 (23:24 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Mon, 30 Oct 2006 23:24:18 +0000 (23:24 +0000)
commit337e3c70f820aae9e34fccef009cfaaec7bd3cb2
tree506f3c0423d3702cffc06f56ea713211e5ad9e27
parent41c98a5ec03967dfb58dd7a3864bbf387745cd29
Add support for TCP sockets.
(server-use-tcp, server-host, server-auth-dir): New options.
(server-auth-key): New variable.
(server-ensure-safe-dir): Create nonexistent parent dirs.  Ignore Unix-style
file modes on Windows.
(server-start): Crete a TCP or Unix socket according to the value of
`server-use-tcp'.  For TCP sockets, create the id/auth file in `server-auth-dir'
directory.
(server-process-filter): Delete process if authentication fails (which never
happens for Unix sockets).
lisp/ChangeLog
lisp/server.el