.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

udp multicast

Posted By:      Posted Date: September 06, 2010    Points: 0   Category :.NET Framework
HI I WORK ON SILVERLIGHT.and silverlight 4 now has the cappability of using udp multicast as System.Net.sockets has provided additional classes.but my question is i make a chat application using udp multicast and it works perfectly now i want to try it over the internet is it possible? and how what is the suitable multicast group ip plz i want examples in silverlight we need a multicast policy server,.so i must  put it on a public ip with port 943 and it will work help please

View Complete Post

More Related Resource Links

Basic Instincts: Implementing Callbacks with a Multicast Delegate


This month's column is a follow-up to the December 2002 installment in which I introduced the basic concepts and programming techniques associated with delegates. I am going to assume you have already read that column and that you are familiar with the fundamentals of programming delegates.

Ted Pattison

MSDN Magazine January 2003

How to join source specific multicast group in c#

I am looking for source code examples in c# to join a multicast group with a specific source.I could not find any object that is equivalent to ip_mreq_source in C# for IP_ADD_SOURCE_MEMBERSHIP.My platform is Windows 2003 server.NET version 3.5

net.tcp service does not recieve messages using WCF4 routing service multicast scenario


I am trying out the WCF 4.0 multicast scenario. i have two services exposed

Service A- using NetTcpBinding,

Service B-using basichttpbinding.

A WCF 4 Routing service is used to multicast messages to both the services.

When i send a message, only the service with basichttp binding recieves it. the other does not.

I modified service A to use basichttpbinding and it started recieving messages from multicast router.

Am I missing here something that nettcp service is not recieving messages from multicasting routing service.


Receiving an IPv6 Multicast Message



Im working with IPv6 on C#, developing a Router Advertisement Daemon. Im having problems to receive the Router Solicitation Messages.

The Router Solicitation Messages are sended to the All-Routers Multicast Address FF02::2. This is what i've tried so far:

Socket socket = new Socket(AddressFamily.InterNetworkV6, SocketType.Raw, ProtocolType.IcmpV6);    
IPv6MulticastOption multicastOption = new IPv6MulticastOption(IPAddress.Parse("FF02::2"));  

Multicast in a specific order


I am running a data transformation that enters data into two tables using a multicast.  The problem is that one table is the parent of the other, and therefore the parent must be populated first.  However a multicast transoformation executes both table inserts at the same time.  Is there a way to specify an execution order at the multicast level?

BTW - I can't do the obvious solution of creating two data flow tasks at the control level because the data source in an XML file and I am using the dynamically generated element ids as my primary and foreign keys.

SocketException on Bind for multicast receiver


1) Could a TCP connection that used the port I was trying to bind to cause this problem, even though the IP address is different?
2) Do I need to worry about the port on the "local" end of TCP connections on the same machine, when selecting a bind port for multicast? (If not, I can narrow down the conflict to one option.)

Stack Trace:
2010-01-14 01:48:15.9429476-06:00 [1] ERROR MyApp.XXXForm - An attempt was made to access a socket in a way forbidden by its access permissions
System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at MyApp.MulticastTopicProvider.CreateSubSocket(IPAddress group, Int32 port, IPAddress interfaceAddress, Int32 receiveBufferSize)

Code called:

private Socket CreateSubSocket(IPAddress group, int port,
                               IPAddress interfaceAddress, 
                               int receiveBufferSize) {
    Socket result = new Socket(AddressFamily.InterNetwork, 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend