Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!hellgate.utah.edu!caen!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!bloom-beacon!ZIA.AOC.NRAO.EDU!cflatter From: cflatter@ZIA.AOC.NRAO.EDU (Chris Flatters) Newsgroups: comp.windows.x Subject: Re: IPC problem Message-ID: <9011152256.AA03216@zia.aoc.nrao.edu> Date: 15 Nov 90 22:56:37 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 >> I have an application which needs to read data off a socket. I can >> arrange for it to be sent a ClientMessage when this data is to be >> transmitted, but since the amount of data could be fairly large (though >> I'm working to keep it of moderate size), I'd rather not have the >> application simply sit there (vis a vis X) while reading data. I'd >> like to be able for it to respond to Expose events and the like while >> still receiving data. Is there a reasonable way to do this? I'm using >> just Xlib ons a SPARCStation running OpenWindows 2.0. Thanks! > > On Unix systems you can obtain the file descriptor of the X connection. I managed to leave out how you do this (the sort of that happens if I post messages before drinking my morning coffee). The macro ConnectionNumber (display) will return the file descriptor. Chris Flatters