aboutsummaryrefslogtreecommitdiff
path: root/tests/tcpvanilla/README.md
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-09 22:37:50 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-09 22:37:50 -0400
commitcb381871d518077649be6272af823dabec2fcd28 (patch)
tree98547efe9389421f9f58219a8278e166d2b069c6 /tests/tcpvanilla/README.md
parent404f3d7edfe648dc3fd51c1afc1b3984557f1902 (diff)
reorganized repo a bit better
Diffstat (limited to 'tests/tcpvanilla/README.md')
-rw-r--r--tests/tcpvanilla/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/tcpvanilla/README.md b/tests/tcpvanilla/README.md
new file mode 100644
index 0000000..b8e2883
--- /dev/null
+++ b/tests/tcpvanilla/README.md
@@ -0,0 +1,20 @@
+a simple experiment on communication via tcp ports
+
+a server runs continously servicing clients. Clients connect, send a message, and
+server replies with a message. Message should appear in each separate REPL area
+prompt
+
+run server.rkt in a REPL
+```
+,en server.rkt
+(define stop (serve 8080)) ;; starts serve listening at port 8080
+(stop) ;; to stop server and free the ports
+
+```
+
+run client.rkt in a separate REPL
+```
+,en client.rkt
+(define stop (client 8080)) ;; starts client talking to server at port 8080
+
+```