Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!beach.cis.ufl.edu!rdk From: rdk@beach.cis.ufl.edu (Bobby Krupczak) Newsgroups: comp.unix.wizards Subject: Servers under Inetd Keywords: Inetd Message-ID: <19799@uflorida.cis.ufl.EDU> Date: 20 Feb 89 01:16:08 GMT Sender: news@uflorida.cis.ufl.EDU Reply-To: rdk@beach.cis.ufl.edu () Organization: UF CIS Department Lines: 21 Hi! I am currently writing a sockets based server program that will be fired up by inetd - the BSD super server. I have read documentation stating that the server is exec'ed with file descriptor 0 passed in as the socket descriptor. I have read a IPC Tutorial written by Bill Joy and others that states that file descriptors 0 and 1 are the socket descriptors. The source for inetd says that 0,1,2 are used for the socket descriptor. This effectively cuts off debugging statements using printf. To solve this problem I would simply open a data file and write debugging statements to it. THATS THE PROBLEM. It seems that there server is unable to write to files. Am I making an incredible oversight, or is there something else I need to do? Thanks in advance Bobby