Home Answers Viewqa JSF-Questions Multicast under UDP(client server application)

 
 


alihammoud
Multicast under UDP(client server application)
0 Answer(s)      a year and a month 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 Pages:
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 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
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. 
UDP - User Datagram Protocol
will know how to send any request or messages for UDP server by the UDP client... in Java. UDP client sends information or messages to UDP server... and sends some information to UDP client.   Multicast in Java
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 
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: 
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      
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)
) 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
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
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
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
Vayala
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
Open Source Application Server
Application Server (XAS) under the Open Source licence. The XML Application Server...Open Source Application Server New Open-Source Application Server A new open source application server is available for download from WSO2 Inc
Apache Geronimo Application server Tutorial
Apache Geronimo is a open source JavaEE( or J2EE, old name) application server.... In short Geronimo is full fledged JavaEE application server which uses Industry... application server, however it is completely backward compatible with J2EE 1.2
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
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
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
MySQL Client
). This general-purpose client provides a graphical interface to the MySQL server. It can... library.  * When connecting to the server with a pre-4.1 client... of client access control: * A client attempts to connect and the server either accepts
MySQL Client
connecting to the server with a pre-4.1 client program, use an account that still has... it. The server matches a client against entries in the grant tables based... client programs that access MySQL databases. This library defines an application
Multicasting in Java - java tutorials,tutorial
: Multicast in Java UDP Multicast Client in Java Multicast Server...Multicasting in Java In a datagram network, Multicast is the transmission of the data packet to the multiple destination. The advantage of multicast
Hi Friend...Doubt on Uni Cast & Multi Cast - Java Beginners
each machine connecting to a video server, Unlike unicast, multicast data... they can have one destination host for each source host. UDP packets are also... that they reach to every single machine in some cases. A multicast packet is used
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
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
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
Locking Issues
Locking can be performed in the MySQL server itself for managing the contention... because this locking is performed entirely by the server and it does not involve any other programs.    External locking is performed when server
Database books Page18
; The server enterprise monitor client-library programmer's guide Monitor Client Library is part of Adaptive Server Enterprise Monitor. It is an application programming interface that enables you to write client applications
Building a Simple EJB Application Tutorial
EJB and a client web application using eclipse IDE along with Lomboz plug... a Web client Application Create a new Dynamic Web Project namely ?HelloWeb? from... complete. Deploying and running the Web client Application Right click
Client Side and Server Side coding
Client Side and Server Side coding       The combo of client side and server side coding... to write code in both client side and server side. Some other combinations are &ndash
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
Application Server
Application Server       An application server is an application program that accepts connections in order... on the same computer where the client application is running. Examples include file
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
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
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
Tomcat server/any application server
Tomcat server/any application server  how the server understands request is coming from client and how can it give response within very short span of time
Application Server and Web Server - WebSevices
. An application server providers allows the client to access the business logic for use...Application Server and Web Server  General difference, Application... connectivity and messing .While an application server exposes business logic
Sitemap JEE 5 Tutorial Section
Client in Java | UDP Server in Java | Send and receive info to UDP Client in Java | Receive and send request to UDP server in Java | Multicast in Java | Multicast Server in Java | Multicast Client in Java Java Threading
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
Introduction to Apache Geronimo application Server
Introduction to Apache Geronimo application Server       Apache Geronimo application server is fully JEE certified open source application server in the market. Apache Geronimo project uses best open
Java Client Application
Java Client Application  Java Client Application
Chapter 4. Demonstrate understanding of database connectivity and messaging within IBM WebShpere Application Server
WebShpere Application Server Create, configure, and tune connection pools... of database connections that applications can share on an application server... to 20 times the normal results are realized. WebSphere Application Server
Java Client Application example
Java Client Application example  Java Client Application example
Client Side Application
Client Side Application       For creating the Client side application firstly... side application follows these steps : In the client sides firstly creates
run exe on remote client
run exe on remote client  I am making a client server application... file on client pc in my network if i know the username & password. I have copied files fromserver to client using my application but i cant run it on remote
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

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.