From mboxrd@z Thu Jan 1 00:00:00 1970 From: anothy@cosym.net To: 9fans@cse.psu.edu Subject: Re: [9fans] Running a server/service?? MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Message-Id: <20001111175508.32505199DC@mail.cse.psu.edu> Date: Sat, 11 Nov 2000 12:55:03 -0500 Topicbox-Message-UUID: 289e4356-eac9-11e9-9e20-41e7f4b1d025 i suggest you check out listen(8); in particular, the -d and -t options should help you out. you can create a directory of your own and just specify that in the -d or -t arguements. assuming i've created /usr/foo/bin/rc/my.services and myecho is an executable file (script or binary) that does what you want, i think the steps you're looking for are these: 1) create /bin/my.services/tcp1111 - this should be either an executable shell script like tcp7, substituting myecho for cat, or you could just 'cp myecho tcp7'. 2) start listen - 'aux/listen -d /bin/my.services' that's it, if i understand your question correctly. i'd point out that each of these servers are, technically, a "user-level server process". if, for some reason, you really don't want to use listen, you don't have to. i'd urge you to reconsider, but look at /bin/ip/*d for examples. -α.