Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jul : INDY idIPMCastClient , multiple NICs

www.cryer.info
Managed Newsgroup Archive

INDY idIPMCastClient , multiple NICs

Subject:INDY idIPMCastClient , multiple NICs
Posted by:"Ernst-Wichard Budde" (bud..@iabg.de)
Date:Wed, 16 Jul 2008 10:35:05

I am trying to use the INDY idIPMCastClient component for Multicast
communication. When only one Network Adapter (NIC) is active, I can actually
receive Multicast messages; but not when more than one NIC is active.

I tried to put the NIC IP Address that I want to use to the BINDINGS of the
idIPMCastClient component, but that does not work, either.

Looking at the code of "procedure TIdIPMCastListenerThread.Run;" I am
surprised to see that inside a loop over all bindings, revfrom(..) is
called. Because this call is blocking, the first binding that does not
receive a message will block the tread forever!!

I hope that I just did not really understand the code section.

Can anyone tell me how I can receive Multicast messages in multiple NIC
environment?


Thanks

Ernst

Replies:

www.cryer.info
Managed Newsgroup Archive