VFP2C32 - IcmpPing AND Ip2MacAddress RAISE ERRORS

Topics: General
Developer
Jun 8, 2011 at 5:07 PM

Christian:

IcmpPing raises an error when the cHost parameter is a host name that cannot be resolved. Maybe it should just fail the ping.

Steps to reproduce:

?IcmpPing("laPingInfo", "invalidhost", 30, 0, 1000, 32, .F., 1)

Raises error "Host not found"

Ip2MacAddress fails when the specified IP cannot be resolved to a MAC address. Maybe it should just return an empty string.

Steps to reproduce:

?IP2MACADDRESS("10.0.0.0")

Raises error: "No se encuentra el nombre de red especificado." (LOCALIZED??)

Also, a MacAddress2Ip function would be great!

Carlos