SIGN UP MEMBER LOGIN:    
ARTICLE

Multicasting using UDP in C#

Posted by Lee SangEun Articles | Networking April 04, 2002
The attached source code shows you how to use multi casting in a LAN environment.
Reader Level:
Download Files:
 

The attached source code shows you how to use multi casting in a LAN environment. Multicasting provides many benefits over TCP socket. Performance of a multicast server is better than a broadcast server and it reduces the network load in some cases.

In this attached source code, IP address 224.0.0.l is an address of local subnet.

UDP protocol is connectionless. That means an application doesn't have to be in a connected state. In general, if we use TCP protocol and the server application is end ORClient end, an application throws an exception but this application has no problem.

If a user increases load on a TCP connection, the server performance is decreases but UDP multicast has no effects. If you need to transfer data (not too secure ) in a LAN network, UDP multicast is a better choice.

How to use the source code:

Run muticastsrv (as a server) on a local machine
Run muticastcli (as a client) on other local LAN machines. Order of start is free.

and type your massage in the server application and conform message in a client. A client application can start and stop feely.

Login to add your contents and source code to this article
share this article :
post comment
 

I want coding for multicast routing using windows application also want the coding for finding shortest path

Posted by kiruthiga senguttuvan Dec 28, 2011

where is the source code

Posted by raphael zhang Nov 19, 2007

Says that the IP is an invalid argument.

Posted by Graeme Woodhouse Mar 13, 2007
Become a Sponsor
PREMIUM SPONSORS
  • Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
    The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor