error 10004 with TIdIPMCastClient in Indy 10


2004-12-01 10:33:09 PM
delphi126
i use TIdIPMCastClient(Indy10).
here is the code:
procedure TForm1.FormCreate(Sender: TObject);
begin
with MyIPMCastClient do
begin
DefaultPort := 7001;
MulticastGroup := '234.0.0.1';
ThreadedEvent := True;
Active := True;
end;
end;
then i press F9 to run in IDE, and then close it,
it raise #10004 error. but run it out of IDE, the
error will not appear.