Thanks for popping by!
The goal of this project was to create a simple "chat"-like facility that enables a user at one terminal to communicate with a user at another terminal. The main two concepts explored in this project are Threads (creating a threads list and assigning tasks to them), and the UDP protocol (uncluding uses of socket, bind, sendto, recvfrom, getaddrinfo among others).
a)
- Run "make run1" in one terminal
- Run "make run2" in another terminal
- Connection is now binded. To check status of the other user, type in "!status". To exit communication, type in "!exit". These are case sensitive.
b)
- Run "make"
- Run "./lets-talk --> Example: "./lets-talk <3000> <192.168.0.513> <3001>"
- Run the same above command, with swapped and to begin communication