This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Interprocess communications
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Matt Jerdonek <maj1224 at yahoo dot com>
- Cc: Discussion eCos <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 23 Feb 2005 19:58:56 +0100
- Subject: Re: [ECOS] Interprocess communications
- References: <20050223184011.40602.qmail@web14208.mail.yahoo.com>
On Wed, Feb 23, 2005 at 10:40:11AM -0800, Matt Jerdonek wrote:
> Hi,
>
> I have the need to create an SSL session between two
> processes within eCos. Because this is an SSL
> session, I need to use a socket for communications.
> However, it doesn't appear as if eCos supports
> AF_UNIX.
>
> So, I think my only solution is to create two
> back-to-back sockets using TCP. Is that correct? I'd
> like to avoid this for two reasons:
> 1) The overhead of TCP.
> 2) It'd expose a TCP port on my ethernet interface
> which I don't want exposed.
If your server binds to 127.0.0.1, it will not be visible on the
Ethernet port.
> I saw a recent contribution of a pipe library. Is
> that something I could use instead?
It might be, you will have to take a closer look at the SSL code and
see if you can make it use named pipes instead of sockets.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss