aboutsummaryrefslogtreecommitdiff
path: root/feasibility_analysis/tcpvanilla/README.md
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-02 02:15:53 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-02 02:15:53 -0400
commit695286140d201ee6a7558b97411a58841112e9c0 (patch)
tree5d73031b1d6c55d53b5a17ace97d49ab3eb6d5df /feasibility_analysis/tcpvanilla/README.md
parent170712a4cf344dbf2bd0e33f7f9af38893f3a21f (diff)
testdrive.md to README.md. We can have nested *.mds
Diffstat (limited to 'feasibility_analysis/tcpvanilla/README.md')
-rw-r--r--feasibility_analysis/tcpvanilla/README.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/feasibility_analysis/tcpvanilla/README.md b/feasibility_analysis/tcpvanilla/README.md
new file mode 100644
index 0000000..b8e2883
--- /dev/null
+++ b/feasibility_analysis/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
+
+```