help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to communicate with a running external process with given PID?


From: Aurélien Aptel
Subject: Re: How to communicate with a running external process with given PID?
Date: Mon, 22 Jul 2013 16:15:37 +0200

On Mon, Jul 22, 2013 at 11:43 AM, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> While I figured out that in my case using HTTP would be just fine, I
> would still be interested in the answer to my (a tad naive) original
> question: how would you establish (in an Emacs Lisp program) plain
> socket communication between Emacs and an already running external
> process (of a Lisp dialect that is not Emacs Lisp) with given PID?
>

I was a bored so I hacked this example together in an hour or so:

    https://bitbucket.org/knarf/emacs-ipc-example

The process is written in Perl but I'm sure the Lisp you're using has
similar functions to create, listen, accept, receive, send and close
sockets.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]