Indy 9 | Content | Index | Reference

TUDPReadEvent
Unit: IdUDPServer
Specifies the event type for reading data from a UDP socket binding.

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

Unit
IdUDPServer
Parameters
ABinding
Socket binding receiveing the data.
AData
Buffer containing new data.
Sender
Server generating the event.
Description
TUDPReadEvent is an event type used to notify a TIdUDPServer event handler that data has been received from a socket binding and is available in the buffer.

TIdUDPServer provides the DoUDPRead event handler to respond to TUDPReadEvent notifications.

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