UdpClientReceiveDataFrom Event

Occurs when unprocessed data has been received from the server.

Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.147 -- Release Build+c4816753a7b0123e84413f8c19e7abd18c8e4cd0

Value

EventHandlerEventArgsEndPoint, IPPacketInformation, Int32

Remarks

This event can be used to receive a notification that server data has arrived. The Read(Byte, Int32, Int32) method can then be used to copy data to an existing buffer. In many cases it will be optimal to use an existing buffer instead of subscribing to the ReceiveDataFromComplete event.

Argument1 is the end-point that data has been received from.
Argument2 is the number of bytes received in the buffer from the server.

See Also