aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-03-29 23:59:07 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-03-29 23:59:07 -0400
commitbb0e49db30c0aad4c1cc4f0b1df0e2e33a5a70af (patch)
tree177775afc70befbc1bb9cadc43696202d59a3b7a
parent847a5d2b4307113c9c198c9d9d1958f2074a500d (diff)
Added testdrive.md to describe experiments for feasibility and
reorganized some files
-rw-r--r--feasibility_analysis/client.rkt (renamed from client.rkt)0
-rw-r--r--feasibility_analysis/client2.rkt (renamed from client2.rkt)0
-rw-r--r--feasibility_analysis/server.rkt (renamed from server.rkt)0
-rw-r--r--feasibility_analysis/tcptalk.rkt (renamed from tcptalk.rkt)0
-rw-r--r--feasibility_analysis/testdrive.md20
5 files changed, 20 insertions, 0 deletions
diff --git a/client.rkt b/feasibility_analysis/client.rkt
index 967d2b9..967d2b9 100644
--- a/client.rkt
+++ b/feasibility_analysis/client.rkt
diff --git a/client2.rkt b/feasibility_analysis/client2.rkt
index 47e3052..47e3052 100644
--- a/client2.rkt
+++ b/feasibility_analysis/client2.rkt
diff --git a/server.rkt b/feasibility_analysis/server.rkt
index bf72aff..bf72aff 100644
--- a/server.rkt
+++ b/feasibility_analysis/server.rkt
diff --git a/tcptalk.rkt b/feasibility_analysis/tcptalk.rkt
index d069851..d069851 100644
--- a/tcptalk.rkt
+++ b/feasibility_analysis/tcptalk.rkt
diff --git a/feasibility_analysis/testdrive.md b/feasibility_analysis/testdrive.md
new file mode 100644
index 0000000..b8e2883
--- /dev/null
+++ b/feasibility_analysis/testdrive.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
+
+```