When you issue a PING command, you may receive either of the following:

PING: transmit failed, error code 10050                               PING: Transmit failed, error code 65.
This failure is generally the result of having a firewall program blocking the PING or blocking ICMP Echo and/or Echo Reply packets.

Check your program documentation for how to allow the PING command or to allow ICMP Echo and/or Echo Reply packets.