Path: utzoo!mnetor!tmsoft!torsqnt!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!decwrl!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: internet address as DISPLAY host field on local machine Message-ID: <2969@bacchus.dec.com> Date: 6 Mar 90 17:45:15 GMT References: Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Distribution: comp Organization: DEC Western Software Laboratory Lines: 20 In article , rosen@cochlea.bu.edu (David B. Rosen) writes: > Is it *better* to use `:0.0' than `myws:0.0' as > the DISPLAY varible value for the local display on myws? > > Another question: what is the difference between using `unix:0.0' and > simply `:0.0'. Is the latter faster? These are all Xlib conventions. You should probably check your Xlib to see what it supports. On most machines, host:0 uses a TCP connection, host::0 uses a DECnet connection, unix:0 uses a UNIX domain socket, and :0 uses whatever Xlib thinks is fastest. In the MIT sample Xlib, :0 is probably the same as unix:0. Some vendor Xlib's may use something shared memory for :0 and/or support other protocols. This is all discussed in Section 2.1 of MIT's Xlib manual. Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee