9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ed@washoe.cs.unr.edu
To: 9fans@cse.psu.edu
Subject: [9fans] Running a server/service??
Date: Sat, 11 Nov 2000 09:20:09 -0800	[thread overview]
Message-ID: <20001111173944.345C0199DC@mail.cse.psu.edu> (raw)

washoe is a stand-alone terminal running 2nd edition:

washoe % netstat
tcp  0    ed          Established 600        login      pyramid.cs.unr.edu
udp  0    ed          Dgram       0          0          0.0.0.0
il   0    ed          Established 5001       exportfs   manzanita.cs.unr.edu
il   1    ed          Closed      0          0          0.0.0.0

washoe % ipecho
Usage: ipecho [t|i|u] host 	#t=tcp, i=il, u=udp
host can be IP address or domain name
washoe % ipecho i washoe
il!washoe!echo did not return echo
washoe % ipecho t washoe
dial failed: connect 134.197.42.61!7 failed: connection refused
washoe % ipecho u washoe
udp!washoe!echo did not return echo
washoe % echo.udp.srv&
washoe % echo.tcp.srv&
washoe % echo.il.srv&
washoe % 
adir = /net/il/1

netstat
tcp  0    ed          Established 600        login      pyramid.cs.unr.edu
tcp  1    ed          Listen      echo       0          0.0.0.0
udp  0    ed          Dgram       echo       0          0.0.0.0
il   0    ed          Established 5001       exportfs   manzanita.cs.unr.edu
il   1    ed          Listening   echo       0          0.0.0.0
washoe % ipecho u washoe
udp!washoe!echo echoed:
Life is too short to drink bad wine. 
washoe % ipecho i washoe
il!washoe!echo echoed:
Life is too short to drink bad wine. 
washoe % ipecho t washoe
tcp!washoe!echo echoed:
Life is too short to drink bad wine. 
washoe % 

-------------------------------------

The echo C code is based on the example in man page for dial.

ed


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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-11 17:20 ed [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-12 17:44 anothy
2000-11-12 17:56 ` Boyd Roberts
2000-11-12 17:39 anothy
2000-11-12 17:44 ` 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  0:54 Russ Cox
2000-11-12  1:04 ` Boyd Roberts
2000-11-11 17:55 anothy
2000-11-12  0:52 ` Boyd Roberts
2000-11-11 16:16 Ish Rattan

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=20001111173944.345C0199DC@mail.cse.psu.edu \
    --to=ed@washoe.cs.unr.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).