These are chat archives for IndySockets/Indy

13th
Nov 2017
dgbaxter
@dgbaxter
Nov 13 2017 01:54
I'm trying to compile an older program that used Indy9 with now XE2 and Indy10. It fails trying to set a variable to type TMulticast. What is that type in Indy10?
DelphiWorlds
@DelphiWorlds
Nov 13 2017 01:54
There is no such type in Indy
what's the exact error message?
oh wait.. you mean the equivalent
dgbaxter
@dgbaxter
Nov 13 2017 01:56
Right!
DelphiWorlds
@DelphiWorlds
Nov 13 2017 01:57
Most likely TIdIPMreq
IPv6 equivalent is TIdIPv6Mreq
dgbaxter
@dgbaxter
Nov 13 2017 01:58
I'll try it. (and read up on it) Thanks.
Remy Lebeau
@rlebeau
Nov 13 2017 16:14
@DelphiWorlds TMultiCast did exist in Indy 9 (in the IdIPMCastBase.pas unit). It was used in the IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP commands for TIdIPMCastClient and TIdIPMCastServer. TMultiCast was indeed replaced with TIdIPMreq (IPv4) and TIdIPv6Mreq (IPv6) in Indy 10 (they are in the IdStackBase.pas unit).
@dgbaxter what is the program doing that it needs to use MCast structures directly, instead of using Indy's wrapper methods?