This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin 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: Duplicating Unix Domain Sockets


On Mon, 3 Jun 2002, David E Euresti wrote:

> I'm not so sure that it'll make it that much slower. I mean we are talking
> of adding only a couple of bytes to every send Unix Domain sockets.  And
> Unix domain sockets never go outside the computer.  Obviously it'll hurt

Given that the implementation of Unix domain sockets normally pass
womping 108 byte path strings (see Richard W.  Stephens TCP/IP
Illustrated Volume 3 or the 'sockaddr_un' structure) with each message
a few extra bytes of overhead won't matter very much.

> if your program usually sends small packets, but you'll gain in being able
> to pass file descriptors through there.

Small packets are likely to be smaller than the address. :-)

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen


--
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/


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