aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAgeFilesLines
* First pass at preparing for GithubRaymaekers Luca2025-03-191-8/+2
|
* AdministritaviaRaymaekers Luca2025-03-191-3/+1
|
* added keyboard.c from termboxRaymaekers Luca2024-11-191-0/+1
|
* Add id field to HeaderMessage for simplifyingRaymaekers Luca2024-11-031-0/+3
| | | | - Changed bracket style as well
* Added ID system with 1 and 2-way communicationRaymaekers Luca2024-11-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each client now has an ID that is permanently stored to ID_FILE location. To implement this each client now uses two connections to the server, one for bidirectional communication and one for unidirectional communication. This makes it easier to not receive unexpected message. Also each client and server now has a Client struct that represents a client and a clientsArena associated with it. Minor changes: - Added logging to LOGFILE, that can be turned with LOGGING macro. - Added more error types - Added error handling on server - Added error messages - Added convenience functions - Added disconnectAndNotify() function for convenience - Use recvTextMessageResult as multiple-value-return-type instead of ** - Separated protocol stuff into protocol.h - Added Result types when wanting to return multiple values - Do not allocate arena's with malloc - Added recvAnyMessageType for receiving messages that do not need to be stored - Add UNIFD and BIFD file descriptors for separating requests chatty.c: - Convert ID to string in screen_home() - Removed the fds global variable - Pass fds to threadReconnect - Implement faster sleep with nanosleep(2) - Close file descriptors when failed so we do not have too many file descriptors open server.c: - Send presence messages on disconnect & connect - renamed i to conn
* Put v2 code in root folderRaymaekers Luca2024-10-261-0/+3
|
* Archive code into v1/ directoryRaymaekers Luca2024-10-241-6/+0
| | | | | The code was written too fast and I deemed that it would be better to make a new draft.
* Added minimal send implementationRaymaekers Luca2024-10-211-0/+2
| | | | | | Renamed minirecv.c to recv.c Added build commands to build.sh Added the use of common code
* Added mvp implementations of the server and client for testingRaymaekers Luca2024-10-201-0/+1
|
* Initial commitRaymaekers Luca2024-10-171-0/+3