Ok, I just gave it a try and it didn't work. But that being said, I know what the problem is:
1) I have installed tftpd version 2.21 on Win XP, SP1 English
2) I tried the following (with the proper IP address) just to see if it crashed the application:
root@bt:~# ncat -u 192.168.1.6 69
GET AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
And it did crash the application. So far, so good!
3) I tried your perl script and although it crashed the application, I didn't get the calc.
4) While I was looking around around, I decided to check my version of Windows, just in case. And "dummy me", I was trying it on Windows XP
SP2 English!!!

So bottom line, I don't have a WinXP SP1 available, but as soon as I have a minute (in a few weeks probably!!), I will adapt your script to make it work on WinXP SP2...

But good job pizza1337, it obvious you wrote a nice piece of code!!!