Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!jarthur!petunia!csuchico.edu!shire From: shire@ecst.csuchico.edu (Charles W Hooks) Newsgroups: comp.windows.x Subject: How do I make a socket an xevent? Message-ID: <1991Jan16.043316.13036@ecst.csuchico.edu> Date: 16 Jan 91 04:33:16 GMT Sender: news@ecst.csuchico.edu (USENET) Organization: California State University, Chico Lines: 16 I've made teh xwindow part of a client for gb (a game) and it works okay. But I now want to add the socket input from the server and make it an event. The entire program was doen using Xlib, and teh only refrence I can find of adding input is in Xt. Since I don't want to write the whole darn thing over using XT to just get sockets to work, hwo do I use Xlib to do this? p.s. I have an exampel program of how to do fiel input for Xt, but I couldn't get it to work. It seems Hp would stop my x program every time I wrote to the file. The book I used is from O'Reilly & Assoc, an 8 part series on X. -- Charles W. Hooks aka Tribbles _ /| aka Moonshae \'o.O' aka (shire@ecst.csuchico.edu) =(___)= California State University, Chico U