This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Interprocess communications


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]