Syntax
VM_RESULT vm_udp_close(
    VM_UDP_HANDLE handle
);
ContentsIndex
PreviousUpNext
vm_udp_close
Example
Syntax
VM_RESULT vm_udp_close(
    VM_UDP_HANDLE handle
);
Description

This function closes the UDP socket.

Parameters
Parameters 
Description 
VM_UDP_HANDLE handle 
[IN] The UDP handle. 
Returns

VM_UDP_RESULT which indicates if it was closed successfully or not.

Example
 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);
 }
File

vmudp.h

Group
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.