aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'test/examples/x.tcl')
-rw-r--r--test/examples/x.tcl8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/examples/x.tcl b/test/examples/x.tcl
new file mode 100644
index 000000000..7553aca2d
--- /dev/null
+++ b/test/examples/x.tcl
@@ -0,0 +1,8 @@
+# tcl tests
+
+#simple example
+
+proc Echo_Server {port} {
+ set s [socket -server EchoAccept $port]
+ vwait forever
+}