VM_RESULT vm_tcp_close_sync( VM_TCP_HANDLE handle );
VM_RESULT vm_tcp_close_sync( VM_TCP_HANDLE handle );
This function closes an open TCP connection synchronously and it will be blocked until it has finished closing the connections.
|
Parameters |
Description |
|
VM_TCP_HANDLE handle |
[IN] The TCP handle. |
static VMINT g_tcp_sync_hd; void hl_tcp_sync(void) { g_tcp_sync_hd = vm_tcp_connect_sync("123.123.123.123", 80, VM_BEARER_DATA_ACCOUNT_TYPE_NON_PROXY); vm_tcp_close_sync(g_tcp_sync_hd); }
vmtcp.h
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.