Syntax
VMINT vm_tcp_server_read(
    VM_TCP_SERVER_HANDLE server_handle, 
    VM_TCP_HANDLE client_handle, 
    void* data, 
    VMUINT length
);
ContentsIndex
PreviousUpNext
vm_tcp_server_read
Syntax
VMINT vm_tcp_server_read(
    VM_TCP_SERVER_HANDLE server_handle, 
    VM_TCP_HANDLE client_handle, 
    void* data, 
    VMUINT length
);
Description

This function represents the server that reads data received by a client.

Parameters
Parameters 
Description 
VM_TCP_SERVER_HANDLE server_handle 
[IN] The server handle. 
VM_TCP_HANDLE client_handle 
[IN] The client handle. 
void* data 
[IN] The data to be read. 
VMUINT length 
[IN] The data length. 
Returns

On success - the number of bytes received. 

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.