Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : Re: IdUDPServer1UDPRead broken?
| Subject: | Re: IdUDPServer1UDPRead broken? |
| Posted by: | "John Friel" (jo..@frieltek.com) |
| Date: | Fri, 22 Sep 2006 14:17:59 |
Ok, so if I had waited I would have this running...
Thanks.
John
>> I am now trying to get the IdUPDServer to work and immediately ran
>> into a snag. When setting the OnUDPRead event by double-clicking it
>> to create the stub, it adds:
>
> That is a known Delphi bug.
>
>> procedure TMainForm.IdUDPServer1UDPRead(Sender: TObject;
>> AData: TBytes; ABinding: TIdSocketHandle);
>>
>> Both TBytes and TIdSocketHandle are underlined in Red.
>
> You have to add IdGlobal and IdSocketHandle to your uses clause.
>
>> Does it not add the correct entries to the uses clause?
>
> No. But that is Delphi's fault, not Indy's.
none