Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Instructions
1. Copy the files to your own directory.
2. Modify inet.h to reflect the host you are currently logged into.
Also, modify the port numbers to be used to reduce the likelihood
of conflicting with another server.
3. Compile the source code using the command: make
4. Start the chat and directory servers in the background: ./directoryServer3 &; ./chatServer3 &
5. Start the client on the same or another host in the foreground: ./chatClient2
6. Remember to kill the server before logging off.
## TO DO:
- Server
- Server close/crash implementation
- Tells directory to remove it from list
- Directory
- Remove servers
## NOTES:
- The current implementation is definitely __inefficient__ at best. Having it go through and remove marked connections at the end of every loop can be taxing, but it's good for learning and understanding the code.
- More discrete and robust, but heavier on the system.
## CITATION:
AI was utilized in this program for debugging purposes only. I neither generated nor used AI-generated code to the best of my knowledge. Each prompt used included the following statement (or similar given the context):
"Do not give me alternate code. Do not generate any code. Only highlight errors and misconfigurations."
AI was utilized as an "advanced error checker" as compared to applications like cppcheck. Only difference is inter-file signals and messaging to ensure things are actually being processed accordingly.