Sorry it took me so long to reply, I was gone for a while.

Ok, in the udpread I have a line that checks if the $sockerr > 0, and returns if it is but im not real sure if its triggering. I took and added an echo at the very beginning just to see if the udpread is even reading anything and it doesnt appears be. Since the udpread does not appear to work for reading the DestUnreach packet, what would I need to use? This is confusing me and I havent be able to find anything online for mirc besides stuff related to flooding a user with ICMP DestUnreach packets, which I do not care about.