From 695286140d201ee6a7558b97411a58841112e9c0 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sun, 2 Apr 2017 02:15:53 -0400 Subject: testdrive.md to README.md. We can have nested *.mds --- feasibility_analysis/tcpvanilla/README.md | 20 ++++++++++++++++++++ feasibility_analysis/tcpvanilla/testdrive.md | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 feasibility_analysis/tcpvanilla/README.md delete mode 100644 feasibility_analysis/tcpvanilla/testdrive.md (limited to 'feasibility_analysis') 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 + +``` diff --git a/feasibility_analysis/tcpvanilla/testdrive.md b/feasibility_analysis/tcpvanilla/testdrive.md deleted file mode 100644 index b8e2883..0000000 --- a/feasibility_analysis/tcpvanilla/testdrive.md +++ /dev/null @@ -1,20 +0,0 @@ -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 - -``` -- cgit v1.2.3