Yaron,
I can't be positive, but I assume that the setInterface method on a
multicast socket in java indicates which local network interface you want to
bind to. The equivalent in .NET would be to call the Bind method on the
socket, passing the local end point to the method which represents the
interface you want to use.
As for setting the loopback mode, you would make a call to the
SetSocketOption method on the socket class, passing
SocketOptionName.UseLoopback.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"yaron" <ya***@discussions.microsoft.com> wrote in message
news:5A**********************************@microsof t.com...
Hi,
How to convert java code that use those MulticastSocket setInterface and
setLoopbackMode methods to C# ?
Thanks.