A simple chat application using TCP and UDP protocols