Indy 9 | Content | Index | Reference

TIPMCastReadEvent
See Also, Unit: IdIPMCastClient
Event type signalled to allow reading an incoming datagram for a multicast client.

    TIPMCastReadEvent = procedure (Sender: TObject; AData: TStream; ABinding: TIdSocketHandle) of object;

Unit
IdIPMCastClient
Parameters
ABinding
Listener thread socket handle for the event.
AData
Destination stream for the incoming data.
Sender
Client for the event notification.
Description
TIPMCastReadEvent is an event type signalled when an incoming datagram is available on the listener thread 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 TIdIPMCastClient.OnIPMCastRead property. Applications should assign a procedure to the event handler to allow responding to the event notifcation.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.