Internet Direct (Indy)
Home
PreviousUpNext
TIdIPMCastClient.OnIPMCastRead Event

Event handler signalled when a datagram is available for the multicast client.

Pascal
property OnIPMCastRead: TIPMCastReadEvent;

OnIPMCastRead is a TIPMCastReadEvent property that represents the event handler signalled when a datapacket has been received on the socket descriptor for the multicast client. OnIPMCastRead allows the client to implement processing required to read and handle the datagram contents. 

Applications must assign a procedure to the TIPMCastReadEvent event handler to allow responding to the event notification. 

The event handler has arguments that include: 

 

Parameter 
Usage 
Sender 
Multicast client for the event notification. 
AData 
Stream containing the contents of the datagram. 
ABinding 
Socket descriptor used to read the incoming datagram. 
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.