Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Reading sockets from the Toolkit Message-ID: <8905052147.AA00039@expo.lcs.mit.edu> Date: 5 May 89 21:47:27 GMT References: <14403@duke.cs.duke.edu> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 16 > Could some knowledgeable Toolkit programmer suggest the best way to add > a new event to the toolkit main loop XtMainLoop() that will execute my > callback function when data comes in over a socket. I am using Athena > widgets if that makes a difference. Take a look at section 7.1.1 (Adding and Removing Input Sources) in the X11R3 instrinsics manual I think this is exactly what you are looking for. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213