Gemstone Communication Library
Show/Hide TOC

# ServerBaseSendTo(Guid, Byte, Int32, Int32) Method

Sends data to the specified client synchronously.

## Definition

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

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

VB
View Source Request Example

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

C++
View Source Request Example

    public:
    virtual 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.

#### Implements

IServerSendTo(Guid, Byte, Int32, Int32)

## See Also

#### Reference

ServerBase Class
SendTo Overload
Gemstone.Communication Namespace