Syncs folders realtime
- Clone the repository
- Run 'make' from your terminal
- Run './main' from your terminal
- Holds a stream
- Can write data and read data from the stream
- Has a static member to perform a connection, returning a stream pointer
- Preferably can be used as a stream with << and >>
- Listens for incoming connections and creates streams for them
- Has a 'check' function that checks the states of all the streams and if a connection is waiting
- Either host or connect to a server
- Clients sync with the server's folder
- When changes are made the client informs the server which then informs all clients.
- Utilise OS-specific directory monitoring libraries for increased efficiency.
- Incrementally write data straight to files from the TPCStream (Current: reads the entire packet from the stream then writes to file. Won't work with extremely large files)
- More user friendly
- Security
- Better methods in general
- Fewer memory leaks