This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: unix domain socket with shared memory ?
- From: Corinna Vinschen <cygwin at cygwin dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Thu, 7 Feb 2002 16:14:46 +0100
- Subject: Re: unix domain socket with shared memory ?
- References: <000e01c1af19$013888d0$01000001@BRAMSCHE>
On Wed, Feb 06, 2002 at 03:17:27PM +0100, Ralf Habacker wrote:
> Some guys may say, unix domain sockets are not implemented through tcp connection, but I'm relative sure, that this
> is true:
Huh? Why are you "relative" sure? Didn't you take a look into
the Cygwin sources which would be the right place to learn how
something's implemented? net.cc is a good starting point.
I'm a bit surprised by your results, though. Since AF_LOCAL
and AF_INET are implemented the same way, they should be
nearly equally fast^Wslow. AF_LOCAL just has a bit of an
overhead by some additional tests but the naked read() and
write() calls should be nearly equivalent.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/