http://qs1969.pair.com?node_id=129521

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've been looking for a simple UDP example, but have found a dozen of TCP examples merely mentioning UDP... I just want to see a simple UDP example, using IO::Socket. I'm trying to send a single line of data to another server to a specific port and after the server has received the correct data, the server should send back some data and my computer should receive it. It's simple, but I'm puzzled... TCP was easy when I tried it, but UDP isn't and I'm forced to use it (as the server uses it). Therefore, I seek the wisdom from the monastery :)