Internet Direct (Indy)
Home
PreviousUpNext
TUDPReadEvent Type

Event type for reading data from a UDP socket binding.

Pascal
TUDPReadEvent = procedure (Sender: TObject; AData: TIdBytes; ABinding: TIdSocketHandle) of object;
Parameters 
Description 
Sender 
Server generating the event.
 
AData 
Buffer containing new data.
 
ABinding 
Socket binding receiveing the data. 

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. 

TUDPReadEvent is the type used to represent the OnUDPRead event handler in TIdUDPServer.

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.