Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!tomg From: tomg@hpcvlx.cv.hp.com (Thomas J. Gilg) Newsgroups: comp.windows.x Subject: Re: Socket Numbers in X11 Message-ID: <100920128@hpcvlx.cv.hp.com> Date: 2 Nov 89 22:57:34 GMT References: <148@bnrgate.bnr.ca> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 18 > Which socket numbers does X11 use for client-server communication? > I am assuming this is socket based communication, is this correct? > Are a "group" reserved for this purpose? If so where is this written > down? To the best of my knowledge, the Server and Clients make _initial_ contact over the "well-known tcp ports" 6000 + n where n equals your display number (eg, foo:0.0 uses port 6000, foo:3.4 uses port 6003). Once the initial connection and verifications are made, a unique port is agreed upon (how, I'm not sure) for further server/client communications on a per client basis. > Alan Thomas Gilg tomg@cv.hp.com