[comp.windows.x] X and fork

jmr1g@ra.cs.Virginia.EDU (Jeremiah M. Ratner) (01/29/91)

From: jmr1g@ra.cs.Virginia.EDU (Jeremiah M. Ratner)
Path: ra.cs.Virginia.EDU!jmr1g
Newsgroups: comp.windows.x
Subject: X and fork()
Expires: 
References: 
Sender: 
Reply-To: jmr1g@ra.cs.Virginia.EDU (Jeremiah M. Ratner)
Followup-To: 
Distribution: usa
Organization: University of Virginia Computer Science Department
Keywords: 

Apologies if this has been covered before, but i have an X application
that forks, and i would like to send requests to the server via the
single, shared connection.  It doesn't seem that this is possible. Is
it the case that the server maintains a connection per client, and a 
child and parent count as 2 clients?  Doesn't the child inherit the parent's
file descriptor for the connection?  In any case, is there any a parent and
child can communicate with a single server without the child's opening
a separate connection?

Thanks in advance for any help.

Jerry Ratner  (jerry@trident.datasys.swri.edu)