[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w32 does not have emacsclient/server
From: |
Juanma Barranquero |
Subject: |
Re: w32 does not have emacsclient/server |
Date: |
Wed, 27 Jul 2005 16:34:49 +0200 |
On 7/15/05, Stefan Monnier <address@hidden> wrote:
> Actually, I don't think so. IIRC What we need for emacsclient/server to
> work on Windows is to make it work over TCP sockets rather than only over
> Unix sockets (because Windows supports TCL sockets but not Unix sockets).
I'm taking a stab at this. Modifying server.el to use TCP sockets is
trivial, and modifying emacsclient.c should not be hard *if* the Unix
socket support is to be scrapped.
> in server.el, use a TCP server socket (on a non-specified port).
> Once opened, check to see which port was used. Write the port
> and hostname together with a secret random string into
> ~/.emacs_server. When a connection comes in, check that the
> first bytes sent are exactly the same as the random string
I suppose this is to avoid choosing a port number as the standard
"Emacs server port"? I'd rather choose a number, and let the user set
it up on server.el and pass it to emacsclient.c in case there's a
conflict on her system...
Another parameter to pass would be the ip address, wouldn't? I'm
assuming it's frequent on non-Windows environments to emacsclient
against an Emacs server at another machine...
--
/L/e/k/t/u
- Re: w32 does not have emacsclient/server - getting paper size, (continued)
- Re: w32 does not have emacsclient/server - getting paper size, Eli Zaretskii, 2005/07/16
- Re: w32 does not have emacsclient/server - getting paper size, Lennart Borgman, 2005/07/16
- Re: w32 does not have emacsclient/server, Jason Rumney, 2005/07/15
- Re: w32 does not have emacsclient/server, Lennart Borgman, 2005/07/15
- Re: w32 does not have emacsclient/server, David Kastrup, 2005/07/15
- Re: w32 does not have emacsclient/server, Stefan Monnier, 2005/07/15
- Re: w32 does not have emacsclient/server,
Juanma Barranquero <=
- Re: w32 does not have emacsclient/server, Jason Rumney, 2005/07/27
- Re: w32 does not have emacsclient/server, Juanma Barranquero, 2005/07/27
- Re: w32 does not have emacsclient/server, Jason Rumney, 2005/07/27
- Re: w32 does not have emacsclient/server, Stefan Monnier, 2005/07/28
- Re: w32 does not have emacsclient/server, Juanma Barranquero, 2005/07/15
- Re: w32 does not have emacsclient/server, David Kastrup, 2005/07/15
- Re: w32 does not have emacsclient/server, Juanma Barranquero, 2005/07/18
- Re: w32 does not have emacsclient/server, Lennart Borgman, 2005/07/15
- Re: w32 does not have emacsclient/server, Robert J. Chassell, 2005/07/15
Re: w32 does not have emacsclient/server, Guy Gascoigne - Piggford, 2005/07/15