I'd like to using an Indy component in a console application.
As I cannot drag a component into a form, I created the conponent using
procedure Func(Sender: TObject; ......);
var UDPServ: TIdUDPServer;
UDPServ.OnUDPRead:=Func; // is that right?
Can anyone give me an example how to handle the events in a component created dynamically.