ContentsIndex
Example
vm_soc_inet_ntop
// IPv4
VMUINT8 ipv4[] = {192, 168, 0, 1};
VMCHAR ipv4_addr[16] = {0}, *addr = NULL;
addr = vm_soc_inet_ntop(0, ipv4, ipv4_addr, 16);
if (addr)
{
     // successfully
}


// IPv6
VMUINT8 ipv6[] = {0xff, 0xee, 0xdd, 0xcc, 0xaa, 99, 88, 77, 66, 55, 44, 33, 22, 11, 00, 00};
VMCHAR ipv6_addr[16] = {0};
const VMCHAR *addr = NULL;
addr = vm_soc_inet_ntop(1, ipv6, ipv6_addr, 40);
if (addr)
{
     // successfully
}
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.