// IPv4 kal_char ipv4[] = {"192.168.1.1"}; kal_uint8 ipv4_dst[4] = {0}; kal_bool ret = KAL_FALSE; ret = vm_soc_inet_pton(0, ipv4, ipv4_dst); if (ret) { // successfully } // IPv6 VMCHAR ipv6[] = {"FF::EE"}; VMUINT8 ipv6_dst[16] = {0}; VMINT ret; ret = vm_soc_inet_pton(1, ipv6, ipv6_dst); if (ret) { // successfully }
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.