updates to README.md(manual)
This commit is contained in:
parent
2e5a7beadb
commit
37e58af6c3
@ -1,5 +1,4 @@
|
|||||||
# Hermes - the code
|
# Hermes - the code
|
||||||
# This is a work in progress. Kindly report all issues
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
The only pre-requisite is to have a recent version of Drracket, then go ahead
|
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
|
### Clients
|
||||||
|
|
||||||
In the clients follow the prompt to set you up. Type in messages to send to
|
In the clients follow the prompts to set you up. Type in messages to send to
|
||||||
other clients.
|
other clients. You may try connecting to server instance running locally
|
||||||
|
"localhost" or have an ip-address for a hermes server running elsewhere.
|
||||||
|
|
||||||
#### Commands
|
#### Commands
|
||||||
* Change color of your messages with /color color. Default is black.
|
* Change color of your messages with /color color. Default is black.
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
(define (client port-no)
|
(define (client port-no)
|
||||||
(parameterize ([current-custodian main-client-cust])
|
(parameterize ([current-custodian main-client-cust])
|
||||||
;; connect to server at port 8080
|
;; connect to server at port 8080
|
||||||
|
|
||||||
;; TODO catch error here
|
;; TODO catch error here
|
||||||
(define-values (in out) (tcp-connect hostname port-no)) ;; define values
|
(define-values (in out) (tcp-connect hostname port-no)) ;; define values
|
||||||
;; binds to multiple values akin to unpacking tuples in python
|
;; 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
|
I wrote the networking code i.e. code that allows communication between
|
||||||
clients through server. I wrote scheduling code responsible for queueing
|
clients through server. I wrote scheduling code responsible for queueing
|
||||||
fairly the client messages and broadcasting to the rest of connected
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user