- created skeletons for server and client
- created helper methods
error_check
andget_input
- started networking code for both client and server
- server now creates subservers for every client
- finished method
create_socket
which will establish connections for both clients and servers - created
REQUEST
andRESPONSE
structs - basic networking code finished
- modified networking code to make it more modulated
- created new file for file management methods:
file_content
create_file
delete_file
file_size
file_exists
- worked on handling these requests for client & server
EXIT
UPLOAD
- worked on handling these requests for client & server
DELETE
DOWNLOAD
- planned GUI design on paper
- reserached how to use ncurses
- started work on refactoring client to incorportate GUI
- added
leftMenu
andrightMenu
windows - created GUI loop that runs forever
- created switch statement that will handle input from user
- created
topMenu
andbottomMenu
for other information + instructions for user - can now handle
QUERY
request which lists files in server
- added a
debug
method which toggles debug print statemetns - added semaphore methods in file.c
- added ability to see content of currently selected file or directory
- added signal handlers so that client and server properly disconnect
- fixed many, many, many bugs... here are a few:
- server didnt send
fileitem
datastructure properly - strings were not null terminated in
get_next
method - client randomly segfaulted due to freeing uninitialized memory
- GUI was glitchy due to calling
get_items
between every frame (when it wasn't necassry)
- server didnt send