Added LinkedList from AMI assignment to this project
Not actually using it atm and it make actually not be used
Created Event object to pass data between the server/client and the network layer
Client now connects to the server by sending events to the network layer
can send characters accrss the network once connected
Attempt to connect 5 times before giving up and quiting
Changed the design doc but I don't know what's been changed...
Big changes in Network class
Setup function setups up the network by creating a socket and binding if its a server
Then creates a thread of Network::run function that just sits there listening for input on the socket
Network::run creates a epoll fd and then listens for input, when input is triggered it reads a frame from
the socket and then processes that frame by sending ACK's and creating event objects for the server/client
to then receive
Server now uses the new network object
All handling is currently done inside the network object i.e the server doesn't poll for Events being
added to the queue from the Network, but it works haha