This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 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: XWinrc configurable server (menus/icons)


Ralf,

If my IP is w.x.y.z vs. my loopback of 127.0.0.1, how is one of these using unix domain sockets and the other using tcp/ip?

Harold

Ralf Habacker wrote:
Hi all,


The most recent patch looks pretty good from your description.


c) Replaces %display% with 127.0.0.1:<display>.0 in commands

Huh, I was going to say that %display% should be replaced with "127.0.0.1:0.0", but then I remembered that we know the "0.0", but we don't know that the user connected via "127.0.0.1". However, should we just choose to replace display with "127.0.0.1:d.s" where d is display and s is screen? I know that some users report better performance when using their actual ip instead of lookback for DISPLAY...


... because the performance of cygwin's tcp implementation is more than twice as
much as the unix domain implementation.
I assume that this is caused by the additional security and emulation stuff
overhead, which is needed to implement unix domain sockets on top of tcp
sockets.

See http://sources.redhat.com/ml/cygwin/2002-01/msg01719.html for further
details.

Ralf



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