9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ish Rattan <ishwar@pali.cps.cmich.edu>
To: 9fans@cse.psu.edu
Subject: [9fans] Running a server/service??
Date: Sat, 11 Nov 2000 11:16:59 -0500	[thread overview]
Message-ID: <Pine.BSF.4.21.0011111106010.18918-100000@pali.cps.cmich.edu> (raw)


I have asked this question before in a different form. I have
tried and am stuck any help will be appreciated.

I want to write a server, call it myserver (works like echo except
prepends a sequence number to the message echoed back). I have code
written based on the example given in net.html/ps document. Now the
question how do I start it? I have seen entries for echo-server
running on port 7:

1. /lib/ndb/common	(tcp=echo  port=7 etc.)
2. /rc/bin/service/tcp7
3. /net/ndb/tcp/7/*

This is ok for system started server. Does one have to go the same route
or one can run a user-level server process whan no write permission is
available on the above parts of namespace?

Further, if I want to run myecho on port 1111 so that a client can talk
to it -- what are the lists of steps to perform? I want to undestand
the process of running a server process??

Thanks in advance.

- ishwar




             reply	other threads:[~2000-11-11 16:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-11 16:16 Ish Rattan [this message]
2000-11-11 17:20 ed
2000-11-11 17:55 anothy
2000-11-12  0:52 ` Boyd Roberts
2000-11-12  0:54 Russ Cox
2000-11-12  1:04 ` Boyd Roberts
2000-11-12 17:14 anothy
2000-11-12 17:35 ` Boyd Roberts
2000-11-12 17:36 ` Boyd Roberts
2000-11-12 17:39 anothy
2000-11-12 17:44 ` Boyd Roberts
2000-11-12 17:44 anothy
2000-11-12 17:56 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.4.21.0011111106010.18918-100000@pali.cps.cmich.edu \
    --to=ishwar@pali.cps.cmich.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).