Project from system programming
Use the command in the terminal: gcc -std=c99 -Wall -Wextra -pedantic udp_talker.c -o udp_talker.bin
Use the command in the terminal: ./udp_talker.bin [Ip address] [port_of_your_friend]
If you want to know more, read the source code :D