The firewall built in the XP allows all traffic to pass. It blocks only the incoming traffic. A router is meant for routing traffic, and therefore it will succeed. This code is most likely to fail where proxy's and firewalls located on the network are used to access internet.