Multicast under UDP(client server application)

Ads

 
 

Share on Google+Share on Google+

alihammoud
Multicast under UDP(client server application)
0 Answer(s)      5 years and 5 months ago
Posted in : Java Server Faces Questions

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:

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).

plz help me in solving this

Ads
View Answers
Ads









Related Tutorials/Questions & Answers:
Multicast under UDP(client server application)
Multicast under UDP(client server application)   UDP is used... for multicast applications under UDP. For more information, check the following... to the multicast group address that your RMulticastServer will serve. This server
Multicast Server in Java
Multicast Server in Java   ... and send the IP packet by the multicast server and provides the functionality of multicast server through program. A brief description is given bellow. 
Advertisements
Multicast Client in Java
UDP Multicast Client in Java   ... to send and receive the IP packet or message by multicast client. Here, we provide... to multicast server. It has also 'Send' command button for sending IP packet to multicast
J2ME -- Stream video from a udp server - MobileApplications
J2ME -- Stream video from a udp server  HI, I wanted to develope a mobile application in j2ME to stream video from a udp server by providing the Ip address of the server and the port no. to connect to and using the UDP protocol
UDP Client in Java
or messages for UDP server by the UDP client. For this process you must require... UDP Client in Java     ..., then you send messages to UDP server. The sending process has been defined just 
UDP - User Datagram Protocol
server by the UDP client. For this process you must require the destination IP... in Java. UDP client sends information or messages to UDP server and it collects... and sends some information to UDP client.   Multicast in Java
UDP Server in Java
the UDP server is stopped then you can't be sent any message by the UDP client... UDP Server in Java     ... of UDP server. This section provides you the brief description and program
Receiving and sending a request to UDP server in Java
will know how to receive and send messages by UDP server. First of all, UDP server receives messages and sends some information to UDP client. The brief... Receiving and sending a request to UDP server in Java
Sending and receiving information to the UDP Client in Java
to be send into the UDP server and it also sends a message to UDP client in the text... Sending and receiving information to the UDP Client in Java... will provide send and receive information by the UDP client in Java. UDP client
Java UDP
to server and server to client. A datagram is an independent, self-contained... itself. So UDP is good to use when a short message is coming to the server... Java UDP      
UDP (User Datagram Protocol)
) that is used in client/ server programs like videoconference systems expect UDP... UDP (User Datagram Protocol)       The User Datagram Protocol (UDP) is a transport protocol
Multicast in Java
Multicast in Java       Multicast in Java This section introduces you how to deliver...: unicast, broadcast and multicast. The detail information is given bellow: 
Version of com.ai-republic>multicast dependency
List of Version of com.ai-republic>multicast dependency
Maven Dependency multicast >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.ai-republic >> multicast version1.0.0 in your project
Version of mule>mule-multicast-provider dependency
List of Version of mule>mule-multicast-provider dependency
Network monitoring under LAN
Network monitoring under LAN  am in search of a java program that monitors the real time traffic statistics such as datarate,traffic flow of a LAN....can any one help me by posting java codes or related ideas
Version of mule>mule-udp-provider dependency
List of Version of mule>mule-udp-provider dependency
message sending and receiving using UDP TCP in J2ME
message sending and receiving using UDP TCP in J2ME   I need the simple program for message sending and receiving using UDP TCP in J2ME. Could u pls
Maven Dependency mule-multicast-provider >> 1.0
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.0 in your project
Maven Dependency mule-multicast-provider >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.1.1 in your project
Maven Dependency mule-multicast-provider >> 1.0-rc3
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.0-rc3 in your project
Maven Dependency mule-multicast-provider >> 1.1
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.1 in your project
Maven Dependency mule-multicast-provider >> 1.1-rc1
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.1-rc1 in your project
Maven Dependency mule-multicast-provider >> 1.2
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-multicast-provider version1.2 in your project
log4j is not logging even under src path
log4j is not logging even under src path  We are working with struts application and using log4j.properties file , it is placed under WEB-INF/classes and we have referenced log4j-1.2.8.jar in classpath file even after
JBoss Application Server
JBoss Application Server           Introduction to JBoss Application Server JBoss is a free, open source application server under the LGPL license that is widely
adding Under Lines
adding Under Lines       In this program we are going to tell you how you can add underlines. You can  any number of lines. This example gives you
Maven Dependency mule-udp-provider >> 1.0
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-udp-provider version1.0 in your project
Maven Dependency mule-udp-provider >> 1.0-rc3
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-udp-provider version1.0-rc3 in your project
Maven Dependency mule-udp-provider >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-udp-provider version1.1.1 in your project
Maven Dependency mule-udp-provider >> 1.1-rc1
You should include the dependency code given in this page to add Maven Dependency of mule >> mule-udp-provider version1.1-rc1 in your project

Ads

 
Advertisement null

Ads