Path: utzoo!attcan!uunet!seismo!sundc!pitstop!texsun!texsun.central.sun.com!convex!authorplaceholder From: cuddy@convex.UUCP Newsgroups: comp.windows.x Subject: HELP! (sockets/X) Message-ID: <80100001@convex> Date: 27 Jul 88 09:57:00 GMT Lines: 15 Nf-ID: #N:convex:80100001:000:893 Nf-From: convex.UUCP!cuddy Jul 27 04:57:00 1988 Here's a question for all you X11R2 wizards: I'm writing a program that does a select on a socket to wait for data from a daemon program. It also needs to look for events from the X server (exposes, mouse clicks, etc.). I really don't want to do a non blocking select, check if there are X events and then go back to sleep. I'm a novice 'X' programmer: is there something I'm missing? +----------------------------------------+------------------------------------+ |Mike Cuddy | "Thank you Onan" -- Monty Python. | |Convex Computer Corporation | "They Played PATTY CAKE!!" -- R. R.| |701 N. Plano Rd. Richardson, TX 75081 +---+ #include | |{inhp4, allegra, uiucdcs, sun}!convex!cuddy | #include | +--------------------------------------------+--------------------------------+