From 37e58af6c3dd98356b96c51b53e1b768953c9188 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sun, 23 Apr 2017 18:18:56 -0400 Subject: updates to README.md(manual) --- Hermes/README.md | 6 +++--- Hermes/client.rkt | 1 + README.md | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Hermes/README.md b/Hermes/README.md index 37328bd..bf4c5bf 100644 --- a/Hermes/README.md +++ b/Hermes/README.md @@ -1,5 +1,4 @@ # Hermes - the code -# This is a work in progress. Kindly report all issues ## Installation The only pre-requisite is to have a recent version of Drracket, then go ahead @@ -18,8 +17,9 @@ you are good to go. ### Clients -In the clients follow the prompt to set you up. Type in messages to send to -other clients. +In the clients follow the prompts to set you up. Type in messages to send to +other clients. You may try connecting to server instance running locally +"localhost" or have an ip-address for a hermes server running elsewhere. #### Commands * Change color of your messages with /color color. Default is black. diff --git a/Hermes/client.rkt b/Hermes/client.rkt index a86dc0a..e89f00e 100644 --- a/Hermes/client.rkt +++ b/Hermes/client.rkt @@ -43,6 +43,7 @@ (define (client port-no) (parameterize ([current-custodian main-client-cust]) ;; connect to server at port 8080 + ;; TODO catch error here (define-values (in out) (tcp-connect hostname port-no)) ;; define values ;; binds to multiple values akin to unpacking tuples in python diff --git a/README.md b/README.md index a409747..91911a9 100644 --- a/README.md +++ b/README.md @@ -107,4 +107,5 @@ through the GUI. I wrote the networking code i.e. code that allows communication between clients through server. I wrote scheduling code responsible for queueing fairly the client messages and broadcasting to the rest of connected -clients. I also implemented the logic for handling /list, /whisper commands. +clients. I also implemented the logic for handling /list, /whisper commands, +dialogs for gui code and related utilities. -- cgit v1.2.3