Hermes is pre-alpha ready

This commit is contained in:
Ibrahim Mkusa 2017-04-14 09:40:01 -04:00
parent f8fef5c5ae
commit 0e1636e816
2 changed files with 8 additions and 5 deletions

View File

@ -1,14 +1,14 @@
FEATURES
1. Create a racket module for commonly used functions
2. Log messages to proper file on server
2. Log error messages and channel conservations to proper files on server
4. message parsable?
5. command parsable?
6. keep count of connected clients using object orientation
7. maybe fiddle around with irc library
8. separate main running code from definitions
10. authentication for databases
11. user can ask for no of logged in users. Server has to pars
e
12. Hide user's own input in command line
** 13. Need to gracefully handle disconnected clients by removing from list user filter
of connections
14. bye message prompt for clients
15. Session stickiness for clients
16. plain tcp -> ssl based

View File

@ -4,6 +4,9 @@
;; author: Ibrahim Mkusa
;; about: print and read concurrently
;; notes: output may need to be aligned and formatted nicely
(define host "10.0.0.160") ; internal home
(define host2 "67.186.191.81")
(define port-num 4321)
; custodian for client connections
@ -12,7 +15,7 @@
(define (client port-no)
(parameterize ([current-custodian main-client-cust])
;; connect to server at port 8080
(define-values (in out) (tcp-connect "localhost" port-no)) ;; define values
(define-values (in out) (tcp-connect host2 port-no)) ;; define values
(display in)
(displayln out)
;; binds to multiple values akin to unpacking tuples in python