some fun with sockets and c programming language