static VMINT g_hdll; void hl_udp_create(void) { VMINT port = 0x1234; g_hdl1 = vm_udp_create(port, VM_BEARER_DATA_ACCOUNT_TYPE_WLAN, udp_callback, 1); vm_udp_close(g_hdll); }