A command line chat interface, which allows two machines to communicate on the terminal.
This program contains 4 threads:
- Transmit: Intiializes bytes based on input and sends it over a UDP connection
- Write: Outputs (writes) the earliest message.
- Receiver: Recovers bytes and binds socket.
- Read: Declares bytes through keyboard input
To use the chat, compile all C components using make and run the following command:
$ ./s-talk [your port number] [receiver hostname] [receiver port number]