Syntax
VM_TCP_SERVER_HANDLE vm_tcp_server_init(
    VM_BEARER_DATA_ACCOUNT_TYPE data_account_type, 
    VMINT port, 
    void* user_data, 
    vm_tcp_server_callback callback
);
ContentsIndex
PreviousUpNext
vm_tcp_server_init
Syntax
VM_TCP_SERVER_HANDLE vm_tcp_server_init(
    VM_BEARER_DATA_ACCOUNT_TYPE data_account_type, 
    VMINT port, 
    void* user_data, 
    vm_tcp_server_callback callback
);
Description

This function initiates a server socket.

Parameters
Parameters 
Description 
VMINT port 
[IN] The server port. 
void* user_data 
[IN] The user data which will be passed to the callback. 
vm_tcp_server_callback callback 
[IN] The callback function. 
apn 
[IN] The APN ID. 
Returns

On success - the TCP server handle. 

On failure - an error code in the VM_TCP_RESULT.

File

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