Topic Path: Symbol Reference > Classes > TIdIPMCastClient Class > TIdIPMCastClient Events > OnIPMCastRead Event
TIdIPMCastClient.OnIPMCastRead Event

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

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: 


Multicast client for the event notification. 
Stream containing the contents of the datagram. 
Socket descriptor used to read the incoming datagram. 
Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.