Simple chat application in C.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Aadhavan Srinivasan 291a727dd3 Tried to work on fixing message string bug 2 years ago
.gitignore Updated .gitignore to ignore object files 2 years ago
Makefile Added libstack files to Makefile 2 years ago
README.md Started working on README 2 years ago
file_helpers.c Rewinded 'fp' before closing it 2 years ago
file_helpers.h Added helper functions for file manipulation 2 years ago
main.c Tried to work on fixing message string bug 2 years ago
message.c Used 'tm*' instead of 'tm' for storing time 2 years ago
message.h Used 'tm*' instead of 'tm' for storing time 2 years ago
message_helpers.c Fixed bug with manipulation of the message string, by creating a copy of the string parameter 2 years ago
message_helpers.h Removed unnecessary functions 2 years ago
stack.c Updated stack file; removed 'free' call 2 years ago
stack.h Added libstack files 2 years ago
user.c First commit 2 years ago
user.h First commit 2 years ago

README.md

Chat server

This is a simple, barely-working chat server (which uses a custom protocol). It is written in C, and relies on BSD sockets.

##Usage To use it, compile the program with make.

TODO:

  • Finish README
  • Implement password authentication
  • Fix bugs with message string manipulation (the actual message isn't being stored correctly, and contains extra characters).
  • Do additional testing to ensure that everything works correctly (it probably doesn't).