aboutsummaryrefslogtreecommitdiffstats
path: root/awklib/eg/network/daytimeserver.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-12-27 21:44:25 +0200
committerArnold D. Robbins <arnold@skeeve.com>2020-12-27 21:44:25 +0200
commitce2fcf704aac494b44c78a34c714732685dfc1ad (patch)
tree2b299a1e61dafbf9dc0f37344693a20d8be770b8 /awklib/eg/network/daytimeserver.awk
parente4f1018b3b4ff27d109832210a2e5914e62f9bf9 (diff)
downloadegawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.tar.gz
egawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.tar.bz2
egawk-ce2fcf704aac494b44c78a34c714732685dfc1ad.zip
More updates to gawkinet.texi.
Diffstat (limited to 'awklib/eg/network/daytimeserver.awk')
-rw-r--r--awklib/eg/network/daytimeserver.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/awklib/eg/network/daytimeserver.awk b/awklib/eg/network/daytimeserver.awk
new file mode 100644
index 00000000..f2ed76e9
--- /dev/null
+++ b/awklib/eg/network/daytimeserver.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ print strftime() |& "/inet/tcp/8888/0/0"
+ close("/inet/tcp/8888/0/0")
+}