Commit Graph

78 Commits

Author SHA1 Message Date
ed029f7906 minor additions 2017-04-16 18:19:00 -04:00
f10fb083cd broadcast now checks whether port is open before trying to send 2017-04-16 17:47:42 -04:00
6680d7504b sync/timeout to plain sync. Its appropriate given the chat context 2017-04-16 17:32:02 -04:00
7e7edb4a54 sleep delay interval setting now managed as a global variable 2017-04-16 17:20:17 -04:00
9e1f8c33d1 clients can type /list users to get usernames logged in 2017-04-16 17:09:57 -04:00
ec7b9a644a clients can type in /list count to ask for number of logged in users 2017-04-16 16:48:51 -04:00
61e6c97317 Clients can now whisper to each other /whisper 2017-04-16 16:24:16 -04:00
5d36ba1d5d username now stored along with related input output ports 2017-04-16 14:06:39 -04:00
52edc75849 more readable names for some functions 2017-04-16 13:50:26 -04:00
a532a8cc71 all output generated from client is now logged to appropriate _client
files
2017-04-15 21:53:49 -04:00
63c4e2e185 client logs end with _client and server logs end with _server 2017-04-15 21:06:14 -04:00
413d13d7a6 created modules/general.rkt to house common functions 2017-04-15 20:56:47 -04:00
11bcec1052 preliminary work on adding sessions stickiness 2017-04-15 20:32:26 -04:00
83911cc5f7 server now logs all received conversations and events to files 2017-04-14 17:10:20 -04:00
e09975a02c tidied up 2017-04-14 09:57:40 -04:00
fd2488cf59 Tell git to ignore temporary files 2017-04-14 09:51:08 -04:00
0e1636e816 Hermes is pre-alpha ready 2017-04-14 09:40:01 -04:00
f8fef5c5ae now handles disconnected clients 2017-04-14 00:45:33 -04:00
8d9765ca8c Clients now default to leaving sign out messages 2017-04-13 15:57:58 -04:00
f6687e7d62 timestamps added to messages 2017-04-13 15:20:47 -04:00
31308f35fd messages are now tracked via a closure. 2017-04-13 14:40:27 -04:00
2c8407d195 tidied up, removed some unused definitions 2017-04-13 14:09:40 -04:00
a0fbba4a81 tracking a list of input and output ports via closures and sets 2017-04-13 14:01:32 -04:00
cffd7a4299 Added counter to keep track number of connected clients 2017-04-13 13:45:53 -04:00
4c26f1eaa3 tidied up client.rkt. More stuff to TODO.txt 2017-04-12 13:49:20 -04:00
2899891a63 tidied up server.rkt 2017-04-12 13:26:01 -04:00
3a5ce0d2aa refactored code to use thread-safe displayln-safe 2017-04-12 12:57:55 -04:00
8984b45ac1 Added a tracker for todo items and started added utility functions 2017-04-12 12:33:13 -04:00
282197b144 cleaned up displaying format, added to delay to looped functions to not
burn cpu cycles
2017-04-12 12:23:26 -04:00
11f4ae1946 More updates. 2017-04-12 00:46:08 -04:00
a540bc917f reduced time of broadcast to every 0.5 seconds to avoid hogging cpu and
temps
2017-04-12 00:31:41 -04:00
66d5762bd9 removed log messages from server.rkt, added semaphores stdout 2017-04-12 00:23:37 -04:00
69523cc2ed Clients can now talk with each other 2017-04-12 00:01:52 -04:00
2f0d04ce7f Cleaned up code and added loggers to pinpoint error 2017-04-11 23:40:33 -04:00
44c715c55c final polish for release for 0.2 2017-04-09 22:46:18 -04:00
cb381871d5 reorganized repo a bit better 2017-04-09 22:37:50 -04:00
404f3d7edf Added tcpcommunication.rkt 2017-04-09 22:29:59 -04:00
f0d361b49c updates to server.rkt and client.rkt 2017-04-09 20:50:20 -04:00
ba3f6821f5 server.rkt is done, with exception of testing. Moving on to client.rkt 2017-04-09 15:19:57 -04:00
f56f1cc46d server code for interacting with client is done, not tested. Working on
server broadcast function
2017-04-09 14:56:46 -04:00
2e0ddaaf3a partitioning crpovertcp.rkt to dedicated server.rkt and client.rkt files 2017-04-09 13:02:30 -04:00
53bc7d0232 cleaned up crpovertcp.rkt 2017-04-09 12:59:00 -04:00
e0354fd1c2 keeping count of input and output ports directly is feasible. Trying
a different way.
2017-04-09 12:53:03 -04:00
1edfa0442c iterative updates 2017-04-07 13:18:20 -04:00
c426214e24 Lets try communication over tcp on localhost crpovertcp.rkt 2017-04-05 16:51:51 -04:00
56bc37f69d I can read and process input iteratively 2017-04-05 16:39:47 -04:00
819c6a9f74 Added simulation for multiple users 2017-04-05 16:22:51 -04:00
91c611e2af fixed an issue with username not appearing nicely 2017-04-05 16:01:17 -04:00
7683951024 properly kills threads and returns prompt to main 2017-04-05 15:46:50 -04:00
a93d17e0e6 Two threads of execution example 2017-04-05 15:30:10 -04:00