Gemstone Communication Library
Show/Hide TOC

# IServerSendTo Method

Sends data to the specified client synchronously.

## Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.164 -- Release Build+f554b386a688855f785e1932fbd3cd9a2fa13472
C#
View Source Request Example

    void SendTo(
    	Guid clientID,
    	byte[] data,
    	int offset,
    	int length
    )

VB
View Source Request Example

    Sub SendTo (
    	clientID As Guid,
    	data As Byte(),
    	offset As Integer,
    	length As Integer
    )

C++
View Source Request Example

    void SendTo(
    	Guid clientID,
    	array<unsigned char>^ data,
    	int offset,
    	int length
    )

JavaScript
View Source Request Example

    function SendTo(clientID, data, offset, length);

#### Parameters

clientID Guid
  ID of the client to which the data is to be sent.
data Byte
  The buffer that contains the binary data to be sent.
offset Int32
  The zero-based position in the data at which to begin sending data.
length Int32
  The number of bytes to be sent from data starting at the offset.

## See Also

#### Reference

IServer Interface
Gemstone.Communication Namespace