I had made a script that can ping a half-life based server and report the ping. It uses a udp socket and works fine, but if I accidently enter the wrong port I dont get any responce. Is there a way to read the packet sent back saying that the destination was unreachable? The protocal used for sending the Destination Unreachable packet is ICMP.