[ECOS] Interprocess communications
Andrew Lunn
andrew@lunn.ch
Wed Feb 23 18:59:00 GMT 2005
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
More information about the Ecos-discuss
mailing list