|
|
|
|
|
- MAC address and IP address
NetIPToMAC (Function) In french: NetIPVersMAC Returns the MAC address corresponding to a given IP address.
// Returns the MAC address Info(NetIPToMAC("11.22.33.44"))
Syntax
<Result> = NetIPToMAC(<IPÂ address>)
<Result>: Character string - MAC address (in "aa:bb:cc:dd:ee:ff" format),
- Empty string ("") if a problem occurred.
<IP address>: Character string IP address that must be converted into the "aa.bb.cc.dd" format. This IP address must be associated with a physical network card in order to be converted into a MAC address. Remarks MAC address and IP address The MAC address is the physical address specified on the network cards of MAC computers. The IP address is the address used to communicate between several computers via the IP protocol (Internet Protocol). Remark: - This function can only be used for the computer connected via a local network.
- The IP addresses in IPv6 format are not supported.
Related Examples:
|
Unit examples (WINDEV): The network functions (NetXXX)
[ + ] Using Netxxx functions on the network addresses. You can: - get the IP address - get the MAC address - transform an IP address into MAC address - transform a MAC address into IP address
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|