how to set MulticastInterface

  • Thread starter Thread starter PHLICS_Admin
  • Start date Start date
P

PHLICS_Admin

Hi All,

Following code is used to set multicast interface :

IPAddress ipLan = IPAddress.Parse("...");
int iIP = (int)(ipLan.Address) ;
this._clsMCastSender.SetSocketOption(SocketOptionLevel.IP,
SocketOptionName.MulticastInterface , iIP) ;

When the IP address is "192.168.0.231" , Overflow error occur.

Would you please give me some advise about how to solve it .

Thanks,

Phlics
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top