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: Thorsten Jolitz
Subject: Re: How to communicate with a running external process with given PID?
Date: Tue, 23 Jul 2013 09:19:47 +0200
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux)

Aurélien Aptel <aurelien.aptel+emacs@gmail.com> writes:

> 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.

Thank you, thats indeed very helpfull!

-- 
cheers,
Thorsten




reply via email to

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