Home Discussion Discuss: Multicast Client in Java

  • Project: Multicast under UDP: Reliability alakhrass May 24, 2011 at 1:03 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).

  • urgentmaher March 29, 2012 at 12:10 AM

    hi, where is the solution of this Disscus because I want to know what is the code of this program .. plz reply and send to me the link of solution .. thx alot

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Ajax Questions

Java Client Application
Java Client Application  Java Client Application 

Java Beginners

Java Client Application example
Java Client Application example  Java Client Application example 

HTML Questions

Java HTML Client Application
Java HTML Client Application  Java HTML Client Application 

Java Beginners

Java FTP Client Example
Java FTP Client Example  How to write Java FTP Client Example code? Thanks   Hi, Here is the example code of simple FTP client in Java which downloads image from server FTP Download file example. Thanks 

Java Beginners

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... some servers and so,so that my friend who is in another city can run the client 

Java Beginners

Java FTP Client
Java FTP Client  What all Java FTP Client available to the Java programmers? Is there any Free FTP Client Library? Thanks   Hi, Apache commons-net library is open source robust library in Java. It also contains FTP 

Java Beginners

What is Java Client Socket?
What is Java Client Socket?  Hi, What is client socket in Java... socket connections. To get connection in client socket in java used the class... problem of some sort occurred. More information about client socket in Java 

WebSevices Questions

Client's Data with Axis2 and Java
client's data? First of all back-end will be build in Java(will try to implement some...Client's Data with Axis2 and Java  Hello everyone, I am studying... worked with Eclipse(duh) there is very nice feature of generating server/client 

Java Beginners

web service client
web service client  i have implement web service client in netbeans and it work will using wsdl but know i want to Develop a webserivce (or a Java RMI server/client) for one of the e-services but i do not know the wsdl link how 

Java Beginners

http Client Authentication
http Client Authentication  hi friends, i am trying a java API using HTTPCLient post method. in which i am getting output having some... { System.out.println("\n Place Collection URL = "+ placeurl); HttpClient client = new 

Java Beginners

proxy server and client using java - Java Beginners
proxy server and client using java  how to write program in java for proxy server and client 

Web Services

Axis2 client - Axis2 Client example
\client\src>javac net/roseindia/*.java Note: net\roseindia... for details. To run the client type following command: java net/roseindia/Test... for details. E:\Axis2Tutorial\Examples\HelloWorld\client\client\src>java net 

Java Beginners

importing client side web history
importing client side web history  Hello, i am just trying to import the web history of client in lan through java.... can u plz help me 

Java Magazine Questions

Server calling of .exe file in the client
Server calling of .exe file in the client   I have a requirement with java webapplication. We are using jboss as appserver on Linux machine. How can I call a .exe file from client machine? I want to run .exe from webpage like 

WebSevices Questions

selenium rc java client driver - WebSevices
selenium rc java client driver  how to implement getcookies functions in selnium rc??? i m using getcookies function in selenium rc java client driver. but its given some error. pls tell me whether i have 2 write code 

Java Interview Questions

thin-client project - Java Interview Questions
thin-client project  what is thin-client project??? Plz help me  Hi Friend, Please visit the following link: http://www.roseindia.net/linux/linux-thin-client-terminals.shtml Hope that it will be helpful for you 

Java Code Examples

Multicast Client in Java
UDP Multicast Client in Java   ... to send and receive the IP packet or message by multicast client. Here, we provide many multicast clients and it's functionality for sending or receiving messages 

Programming Tutorials

Chapter 5. Client View of an Entity
client view can also be mapped to non-Java client environments... Chapter 5. Client View of an EntityPrev Part I. Exam Objectives Next     Chapter 5. Client View 

Java Beginners

File transfer from client to server - Java Beginners
File transfer from client to server  hi,, I've been trying to make an application where the user select a file using JFileChooser and then the program directly send it to the server using client/server sockets, I've tried 

Development process Questions

Java client posting to a servlet - Development process
Java client posting to a servlet  Hi, I would like to create a java client that post to a servlet. I am trying to test out a webserver and would like to drive a number of connections using this process. Thanks  Hi 

WebSevices Questions

Unable to create web service client in java
Unable to create web service client in java  When i try to create a client for the WSDL http://infml00871:82/MapperWebService/Mapper?wsdl... error as I click Finish button for Client creation: IWAB0014E Unexpected exception 

Java Beginners

Create text file at client's directory from server.
Create text file at client's directory from server.  Need java code to create text file at client's directory from server..... Please Help 

Java Code Examples

UDP Client in Java
UDP Client in Java     ... or messages for UDP server by the UDP client. For this process you must require...;Text Client");   frame.setDefaultCloseOperation(JFrame.EXIT 

JavaScript Questions

How to print list of files in client system
need to come from client system. but i done this functionality in java...How to print list of files in client system  have some list of files in server.i just want to print that files in client machine with out opening 

WebSevices Questions

how to expose blob in restful web service client java rest template
how to expose blob in restful web service client java rest template  how to expose blob in restful web service client java rest template 

Java Code Examples

Sending and receiving information to the UDP Client in Java
Sending and receiving information to the UDP Client in Java... will provide send and receive information by the UDP client in Java. UDP client... and a 'Send' command button. All information or messages are written by client 

General

RMI Client And RMI Server Implementation
RMI Client And RMI Server Implementation  ... comprises of the two separate programs, a server and a client. A typical server... application provides the mechanism by which the server and the client communicate 

Java Beginners

Hi i want java code that diaplays server scren at the client side
Hi i want java code that diaplays server scren at the client side  Hi I'm Shivaprasad i want java socket code that shows the server side screen when client gets connected with the server. Please help me   Please visit 

Java Server Faces Questions

Multicast under UDP(client server application)
Multicast under UDP(client server application)   UDP is used... in the following) and RMulticastClient (called client in the following) in Java..., there is no guarantee that a multicast message will be received by all a group hosts 

Servlets

How to get client's address in a servlet
How to get client's address in a servlet       This is detailed java code to get client's address in a servlet. In this example we have used method getremoteAddr 

DMCA.com