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

This function sends data from a server to a client.

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

On success - the number of written bytes. 

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.