Question: Multicast under UDP(client server application)



Share on Google+Share on Google+

Multicast under UDP(client server application)
0 Answer(s)      5 years 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

View Answers

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. 
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
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 
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 - 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
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
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
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      
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: 
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
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
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
Image transfer using UDP - Java Beginners
UDP. I have used core java technologies like JFC,JDBC,UDP. My main
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
log4j is not logging even under src path
log4j is not logging even under src path  We are working with struts application and using 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
administration chat client No server required Multicast file... and an easy to use Eclipse plugin. Based on multicast technology, each client is automatically connected to one network of chat client without a central server or much
Traversing a file and directory under a directory
and subdirectories are traversed lying under a directory. We can find that, how many... under it. If the directory contains no files and directory then it will tell you
A programm for error free transmission of data using UDP in java
A programm for error free transmission of data using UDP in java  Hi ! My name is Waleed and Im studing Telecommunication engineering in Oslo... and receiver). The program will use UDP for transmission. Error-free transmission
Pkg Inheritance under same pkg - Java Beginners
Pkg Inheritance under same pkg   Hi Friends I want to extend the Predefined ( . java File ) class in a another inherited class( .java file ) in the same pkg If this is allowed in the same pkg, please tell me how
Java Client Application
Java Client Application  Java Client Application
Top 10 Smartphones under INR 20,000
; } Top 10 Smartphones under 20,000 In this article we are discussing about the top 10 smart phones which can be bought under INR 20,000. When you... with various attributes like features, performance, service, application store
Java Client Application example
Java Client Application example  Java Client Application example
Application Server : Java Glossary
Application Server : Java Glossary       An Application server is a server side program that is used... based applications uses application servers. Application server are developed
RMI Client And RMI Server Implementation
application provides the mechanism by which the server and the client communicate... RMI Client And RMI Server Implementation  ... comprises of the two separate programs, a server and a client. A typical server
Java HTML Client Application
Java HTML Client Application  Java HTML Client Application
server client comms
server client comms  i am trying to return frame through server client comms anyone can help me about that i want to return a class to client side but my class defined in server side
Datagram in network environment
;    In a network environment the client and the server communicate with each-other by reliable channel like TCP socket which have dedicated point-to-point channel between client and server. All data sent over
Client Server Java app
Client Server Java app  I developed a client server based java networking Instant Messaging app. The client program is needed to be run on the client computer whereas the server program is on server computer. This works in my
Java Spring Hibernate Struts Training i have an ques. of advanced java commandlink tag in primefaces needs onclick effect how can i run ASP.Net Server from netbeans IDE? java code for cursor java vertual machine launcher error; cannot access jarfiles JSF Tutorial render in input typetext java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener After authentication and connection establishment, Upload a zipfile by chunks in java JSF CONNECTION WITH MICROSOFT ACCESS Download Current Web Page As PDF java servlet dropdown list in jsf panelGrid header do the following how to make drop down list in JSF & fetch data Item from database help me please doubt regarding JSF Creating Dynamic Tree How to upload zip file from android to server programmatically????? jsf application war file not running in my jboss 6.0 on linux 5.5 Business analysis servlet servlet exception in thread main while running servlet How to get browser time zone? JAVA Socket Programming excel report fro jsp mysql Redirect to same jsp page on successful login jsf f:parm value dynamical settings jsf f:parm value dynamical settings RMI Program in netbeans pagination in jsf pagination jsf pagination How create csv format in jsf ? need JSP Code. Arrays, loops and string handling unique value renderer JSF 1.2 online tutorial JSF code JSP jps Multicast under UDP(client server application) How to rectify "Bad version number in .class file" exception in Eclipse about avl tree and hashing project on avl tree and hashing How to navigate from one jsf to another in eclipse how to focus on the new window opened from JSF ? Editing UI components using managed bean


Advertisement null