From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] One program Two processes
Date: Sat, 26 Dec 2015 15:10:49 +0000 [thread overview]
Message-ID: <20151226151049.GC3144@hob.adamthompson.me.uk> (raw)
In-Reply-To: <20151126083635.eklhad@comcast.net>
[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]
On Sat, Dec 26, 2015 at 08:36:35AM -0500, Karl Dahlke wrote:
> > I'm also going to look into IPC mechanisms for Windows
>
> Geoff says that if you want portable flexible interprocess communication,
> (more flexible than pipes), you have to bite the bullet and use sockets.
> Processes listen on certain ports, send messages to each other via tcp,
> using send() and recv(), which are both unix and windows calls.
> It's rather a pain to set up initially but when it is rolling it works fine.
> I'm not looking forward to that,
> but as I think about itI'm more convinced he's right,
> and why should I have to think about it at all; he's the expert.
> He knows.
Agreed, sockets was where I was thinking of heading with this.
I thought Windows had something like unix domain sockets rather than ports
though but I don't know. At any rate,
I'd go for UDP rather than TCP for local IPC,
that way we can easily multiplex sockets rather than having to multiplex TCP connections.
Any thoughts?
Cheers,
Adam.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2015-12-26 15:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-23 15:09 Karl Dahlke
2015-12-23 18:45 ` Adam Thompson
2015-12-23 19:07 ` Karl Dahlke
2015-12-23 19:59 ` Chris Brannon
2015-12-23 20:44 ` Karl Dahlke
2015-12-24 11:19 ` Adam Thompson
2015-12-24 13:15 ` Karl Dahlke
2015-12-24 18:39 ` Adam Thompson
2015-12-25 2:29 ` Karl Dahlke
2015-12-25 23:18 ` Adam Thompson
2015-12-25 23:51 ` Karl Dahlke
2015-12-26 9:11 ` Adam Thompson
2015-12-26 13:36 ` Karl Dahlke
2015-12-26 15:10 ` Adam Thompson [this message]
2015-12-26 15:23 ` Karl Dahlke
2015-12-26 15:40 ` Adam Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151226151049.GC3144@hob.adamthompson.me.uk \
--to=arthompson1990@gmail.com \
--cc=edbrowse-dev@lists.the-brannons.com \
--cc=eklhad@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).