diff options
-rw-r--r-- | Hermes/README.md | 6 | ||||
-rw-r--r-- | Hermes/client.rkt | 1 | ||||
-rw-r--r-- | 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 @@ -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. |