Home Discussion Discuss: UDP - User Datagram Protocol

  • Project: Multicast under UDP: Reliability alakhrass May 24, 2011 at 1:02 AM

    Project: Multicast under UDP: Reliability 12/11/10 UDP is used to support mulicast. Recall that UDP is connectionless and non reliable. Hence, there is no guarantee that a multicast message will be received by all a group hosts. The aim of this project is to implement a solution that provides reliability for multicast applications under UDP. For more information, check the following site which provides different solutions to multicast reliability: http://datatracker.ietf.org/wg/rmt/charter/ In this project, you will write two classes RMulticastServer (called server in the following) and RMulticastClient (called client in the following) in Java that implement a simple solution to provide reliability in multicast. You have to allow up to 10 RMulticastClient to have the possibility of parallel subscribing to the multicast group address that your RMulticastServer will serve. This server has to keep tracks of all the clients that have subscribed. For each message multicasted by the server, the latter should receive an acknowledgment sent by the clients that have subscribed. If not all the acknowledgments (from all clients) have been received by the server during a timeout period, the server will send the message in unicast to all the clients that have subscribed but which fail to send an acknowldgement. The server will not serve the next multicast message until all acknowledgment are received In particular, the server has to provide the following: 1. The server and clients have to allow the user to indicate the multicast group address and the port number. In addition, the clients have to make it possible to a user to indicate which server he will use for subscription 2. The server has to ask the user to provide the number of messages that the server will multicast. In addition, the server will continue to listen the requests from clients (join and leave requests) until all messages from the user are entered. 3. You have to simulate message loss: this achieved by letting the server and clients accept only ninety percent (90%) of the messages that have been received: a. The server and clients discard 10% of the messages b. The acknowledgment of the clients will be sent only for the messages that haves been accepted (ie those messages that have been not discarded). c. The server will discard 10% of acknowledgements 4. The server will use a timeout of five seconds, that is, if an acknowledgement from some clients does not come before the expiration of this timeout, the server will retransmit, in unicast, the message that have not been acknowledged before the timer expiration to all the concerned clients (ie the clients that have not succeed to sent an acknowledgement or if the acknowledgement has been discarded as mentioned in step 3 above). 5. The content of the sent message has to be displayed by the server: a. A message has been sent as multicast or as a re-transmission and in this latter case you have to provide the destination of the message 6. After a message has been accepted by a client, the content of the message has to be displayed. In addition the client has to specify if the message is multicast or unicast (re-transmission).

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Programming Tutorials

Datagram in network environment
between machines. Java implements datagrams on top of the UDP protocol by using three... Datagram in network environment       In a network environment the client 

General

Datagram in network environment
between machines. Java implements datagrams on top of the UDP protocol by using three... Datagram in network environment       In a network environment the client 

JSP Servlet Questions

datagram - JSP-Servlet
datagram  program that sends "hello" message to a machine named "yahoo" on port"4000" using datagram  Hi Friend, Please visit the following link: http://www.roseindia.net/java/example/java/net/udp/index.shtml 

WebSevices Questions

Web service protocol stack
Web service protocol stack  hii, What is the Web service protocol stack?   hello, The Web service protocol stack is an evolving set of protocols used to define, discover, and implement Web services 

Java Beginners

Secure file transfer protocol
Secure file transfer protocol  What is Secure file transfer protocol 

Mobile Applications Questions

object oriented programming protocol
object oriented programming protocol  What is object oriented programming protocol? Is it different from objective c protocol programming?? Thanks 

JSP Interview Questions

An E-mail protocol for storage
An E-mail protocol for storage  An E-mail protocol for storage, management and change, espically in corporate offices- a) Message handlindling services, b) Postal Service's, C) Data Storage, D)All of the above, e) None 

Mobile Applications Questions

what is soap protocol
what is soap protocol  what is soap protocol and how can i use this in my iphone application to create a web services application 

Swing AWT

Sliding window protocol
Sliding window protocol  Hello Everyone. Will anybody send me the code to make sliding window protocol animation using java swings. I have to do project with all types sliding protocols such as selectiverepeat,gobackN..etc. I 

Mobile Applications Questions

cannot declare variable inside @interface or @protocol
cannot declare variable inside @interface or @protocol  When i declare variable inside the interface, it always send an error saying "cannot declare variable inside @interface or @protocol". Can anyone please tell me why 

General

What is WAP? Wireless Application Protocol
Application Protocol or WAP for short is simply a protocol 

Technology

VoIP - Voice Over Internet Protocol
 

Technology

What is VOIP (Voice Over Internet Protocol)?
Are you eager to know "What is Voice over Internet Protocol"? The world... connected from any part of the world to any part. VOIP or Voice Over Internet Protocol... Protocol) is also known by various other names such as IP telephony, Internet 

Technology

Overview of VOIP/ Voice over Internet Protocol
emerging technology in news today is Voice over Internet Protocol or VoIP. Voice over internet protocol (VoIP) one of the is the newest technologies which uses... VOIP Advantages of Voice over Internet Protocol (VoIP) How Voice over IP 

Programming Tutorials

What is WAP? Wireless Application Protocol
 

Struts Questions

how to get mail exchange records using java dns protocol
 

Technology

How Voice over Internet Protocol (VoIP) Works
protocol work that it is an advance technology that converts the analog audio... over Internet Protocol (VoIP) is a technology of communication that uses "Internet protocol" instead of traditional analog systems. In this technology 

Java Interview Questions

java
java  program to send and receive datagram using datagram packet and datagram socket 

Free Magazine

Web Service Components
Simple Object Access Protocol (SOAP) is a communication protocol... network using SOAP protocol on the Internet. Come to learn more about: http 

Technology

Advantages of Voice over Internet Protocol (VoIP)
callings. VOIP or Voice over Internet Protocol is not just a technology 

JSP Tutorials

Session In JSP
 

VoIP

VoIP History
; Introduction VoIP stands for Voice over Internet Protocol... called ‘Internet Phone’ used the H.323 protocol instead of the currently prevalent SIP protocol. This software was very well accepted in the market 

General

Multicasting in Java - java tutorials,tutorial
Multicasting in Java In a datagram network, Multicast is the transmission... host. Sending Multicast datagrams In order to send any kind of datagram...; is typically used to refer to IP Multicast, which is a protocol 

Technology What is?

What is IPv6?
stands for Internet Protocol and v6 denotes it's version no 6. It is also...; the second version of the Internet Protocol is being  used usually ... was a different  sort of  protocol that intended  to  

General

java inetaddress
java inetaddress       This class of java in "java.net" represents an Internet Protocol (IP) address. InetAddress class is used to create and manipulate IP objects. It does 

Servlets

httpsessionbindinglistener
we should firstly know about the sessions. As we know that Http protocol is a "stateless" protocol. The term stateless means that it can't persist 

Servlets

HttpSessionListener example
firstly know about the sessions. As we know that Http protocol is a "stateless" protocol. The term stateless means that it can't persist the information 

Servlets

httpsessionbindinglistener example
of the HttpSessionBindingListener we should firstly know about the sessions. As we know that Http protocol is a "stateless" protocol. The term stateless means that it can't persist 

XML Tutorials

Apache XML-RPC
Apache XML-RPC In this section we will learn about about Apache XML-RPC, which is open source implementation of XML-RPC protocol. Apache XML-RPC was earlier know with the name of Helma XML-RPC. The XML-RPC is popular protocol used 

General

Java example program to get IP address of own system
Java example program to get IP address of own system       java get own IP address An IP (Internet Protocol) address is a numerical unique identification number which 

DMCA.com