Internet Direct (Indy)
Home
PreviousUpNext
TIPMCastReadEvent Type

Event type signalled to allow reading an incoming datagram for a multicast client.

Pascal
TIPMCastReadEvent = procedure (Sender: TObject; const AData: TIdBytes; ABinding: TIdSocketHandle) of object;
Parameters 
Description 
Sender 
Client for the event notification.
 
AData 
Destination stream for the incoming data.
 
ABinding 
Listener thread socket handle for the event. 

TIPMCastReadEvent is an event type signalled when an incoming datagram is available on the listener threads' socket handle for a TIdIPMCastClient instance. TIPMCastReadEvent allows the listener thread to notify the TIdIPMCastClient instance of the incoming data packet, and allow use of the event handler to read data into a stream. 

TIPMCastReadEvent is the type used to represent the OnIPMCastRead property in TIdIPMCastClient. Applications should assign a procedure to the event handler to allow responding to the event notifcation.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.