rlebeau on master
Correctly define timezone funct… Merge pull request #272 from Bi… (compare)
rlebeau on master
Fixing compiler errors in TIdIP… (compare)
rlebeau on master
Fix for missing declaration of … Fix for compiler error in Local… Merge branch 'master' of https:… and 2 more (compare)
rlebeau on master
Update IdGlobal.pas Fix for co… (compare)
rlebeau on master
Update IdGlobal.pas Fix for mi… (compare)
rlebeau on master
Update IdGlobal.pas Fix for co… (compare)
rlebeau on master
Fix for CPU64 not being defined… (compare)
rlebeau on master
Checking in changes that have b… (compare)
var
LBinding: TIdSocketHandle;
begin
IdIPMCastClient1.IPVersion := TIdIPVersion.Id_IPv6;
IdIPMCastClient1.DefaultPort := 6000;
IdIPMCastClient1.MulticastGroup := 'FF02::1';
IdIPMCastClient1.Bindings.Clear;
LBinding := IdIPMCastClient1.Bindings.Add;
LBinding.IPVersion := IdIPMCastClient1.IPVersion;
LBinding.IP := '::';
LBinding.Port := IdIPMCastClient1.DefaultPort;
IdIPMCastClient1.Active := True;
end;
Bindings
property editor is implemented in IdDsnPropEdBindingVCL.pas
and IdCoreDsnRegister.pas
. And of course, if you are not connected to an IPv6 network when activating the TIdIPMCastClient
, you are going to run into errors trying to join an IPv6 multicast group. Populating the Bindings
doesn't allocate any socket at design-time, and activating the client at runtime can still allocate an IPv6 socket and bind it locally without being connected to an IPv6 network, but joining the group requires communicating with the network, so a network connection is needed.
Since EMBT forums are funky/down again.. .we have put some Delphi as well as Indy forums up to test.. join in!