Return to BSD News archive
Xref: sserve comp.unix.questions:51190 comp.unix.bsd:14248 Newsgroups: comp.unix.questions,comp.unix.bsd Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!ihnp4.ucsd.edu!swrinde!pipex!uknet!festival!edcogsci!richard From: richard@cogsci.ed.ac.uk (Richard Tobin) Subject: Re: (Q) BSD sockets - how to handle properly Message-ID: <Cs28J6.Ivr@cogsci.ed.ac.uk> Keywords: socket, IPC Organization: HCRC, University of Edinburgh References: <1994Jun27.132141.19137@nntp.nta.no> Date: Mon, 27 Jun 1994 14:35:29 GMT Lines: 15 In article <1994Jun27.132141.19137@nntp.nta.no> tm3an@itoe-02.uucp (Arnar Nesset) writes: >a socket. According to the article from which I stole much of the code, >one needs to fork off child processes to handle calls from multiple >processes. Am I doing anything wrong if I skip this child process thing >and just process requests as they arrive? You only need to fork child processes if you want to handle multiple "converstations" simultaneously. In fact, you don't *have* to do it in that case, it's just a simple way to do it. -- Richard -- Richard Tobin, HCRC, Edinburgh University R.Tobin@ed.ac.uk On the net, no-one knows that you're a tentacle