Multicast under UDP(client server application)

Multicast under UDP(client server application)

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. 
Advertisements
ModuleNotFoundError: No module named 'aio-udp-server'
ModuleNotFoundError: No module named 'aio-udp-server'  Hi, My... named 'aio-udp-server' How to remove the ModuleNotFoundError: No module named 'aio-udp-server' error? Thanks   Hi, In your python
UDP - User Datagram Protocol
server by the UDP client. For this process you must require the destination IP... client in Java. UDP client sends information or messages to UDP server... in both the direction. Client can send the datagram packets to server and it can
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 
Multicast Client in Java
UDP Multicast Client in Java   ... to send and receive the IP packet or message by multicast client. Here, we provide... the message to multicast server. It has also 'Send' command button for sending IP
UDP Server in Java
by the UDP client. If UDP server is started then it display the the message "... 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
Sending and receiving information to the UDP Client in Java... will provide send and receive information by the UDP client in Java. UDP client sends information or messages to UDP server and it collects some messages from
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      
how to generate udp packets in linux
how to generate udp packets in linux  Hi, For testing one of my application I want to send udp data. how to generate udp packets in linux? Thanks   Hi, You can send it easily. so here is command to generate udp
how to generate udp packets in linux
how to generate udp packets in linux  Hi, For testing one of my application I want to send udp data. how to generate udp packets in linux? Thanks   Hi, You can send it easily. so here is command to generate udp
ModuleNotFoundError: No module named 'multicast'
ModuleNotFoundError: No module named 'multicast'  Hi, My Python... 'multicast' How to remove the ModuleNotFoundError: No module named 'multicast' error? Thanks   Hi, In your python environment you
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
ModuleNotFoundError: No module named 'py-multicast'
ModuleNotFoundError: No module named 'py-multicast'  Hi, My Python... 'py-multicast' How to remove the ModuleNotFoundError: No module named 'py-multicast' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'under'
ModuleNotFoundError: No module named 'under'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'under' How to remove the ModuleNotFoundError: No module named 'under'
ModuleNotFoundError: No module named 'udp-filetransfer'
ModuleNotFoundError: No module named 'udp-filetransfer'  Hi, My... named 'udp-filetransfer' How to remove the ModuleNotFoundError: No module named 'udp-filetransfer' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'udp-test'
ModuleNotFoundError: No module named 'udp-test'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'udp-test' How to remove the ModuleNotFoundError: No module named 'udp-test
Maven Repository/Dependency: com.ai-republic | multicast
Maven Repository/Dependency of Group ID com.ai-republic and Artifact ID multicast. Latest version of com.ai-republic:multicast dependencies... What is Apache Maven? How to create Maven Web Application in Eclipse
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
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-multicast-provider dependency
List of Version of mule>mule-multicast-provider dependency
Maven Repository/Dependency: mule | mule-multicast-provider
Maven Repository/Dependency of Group ID mule and Artifact ID mule-multicast-provider. Latest version of mule:mule-multicast-provider dependencies... Maven Web Application in Eclipse? Maven 3 Tutorial Convert Maven
Version of mule>mule-udp-provider dependency
List of Version of mule>mule-udp-provider dependency
chat.dim - UDP version 0.3.8 Maven dependency. How to use UDP version 0.3.8 in pom.xml?
chat.dim  - Version 0.3.8 of UDP Maven dependency? How to use  chat.dim  - Version 0.3.8 of UDP in pom.xml? How to use UDP version 0.3.8... chat.dim  - Version 0.3.8 of UDP in project by the help of adding
ModuleNotFoundError: No module named 'udp-over-tls-pool'
ModuleNotFoundError: No module named 'udp-over-tls-pool'  Hi, My... named 'udp-over-tls-pool' How to remove the ModuleNotFoundError: No module named 'udp-over-tls-pool' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'wishbone_input_udp'
ModuleNotFoundError: No module named 'wishbone_input_udp'  Hi, My... named 'wishbone_input_udp' How to remove the ModuleNotFoundError: No module named 'wishbone_input_udp' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'wishbone_output_udp'
ModuleNotFoundError: No module named 'wishbone_output_udp'  Hi, My... named 'wishbone_output_udp' How to remove the ModuleNotFoundError: No module named 'wishbone_output_udp' error? Thanks   Hi
ModuleNotFoundError: No module named 'python-memcached-udp'
ModuleNotFoundError: No module named 'python-memcached-udp'  Hi...: No module named 'python-memcached-udp' How to remove the ModuleNotFoundError: No module named 'python-memcached-udp' error? Thanks   Hi
ModuleNotFoundError: No module named 'rollbar-udp-agent'
ModuleNotFoundError: No module named 'rollbar-udp-agent'  Hi, My... named 'rollbar-udp-agent' How to remove the ModuleNotFoundError: No module named 'rollbar-udp-agent' error? Thanks   Hi, In your
Maven Repository/Dependency: mule | mule-udp-provider
Maven Repository/Dependency of Group ID mule and Artifact ID mule-udp-provider. Latest version of mule:mule-udp-provider dependencies...? How to create Maven Web Application in Eclipse? Maven 3 Tutorial
ModuleNotFoundError: No module named 'pypi_under'
ModuleNotFoundError: No module named 'pypi_under'  Hi, My Python... 'pypi_under' How to remove the ModuleNotFoundError: No module named 'pypi_under' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'pypi_under'
ModuleNotFoundError: No module named 'pypi_under'  Hi, My Python... 'pypi_under' How to remove the ModuleNotFoundError: No module named 'pypi_under' error? Thanks   Hi, In your python environment you
Maven Repository/Dependency: chat.dim | UDP
Maven Repository/Dependency of Group ID chat.dim and Artifact ID UDP. Latest version of chat.dim:UDP dependencies. # Version... What is Apache Maven? How to create Maven Web Application
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
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
Maven dependency for chat.dim - UDP version 0.3.3 is released. Learn to use UDP version 0.3.3 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.3 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.3. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.3.0 is released. Learn to use UDP version 0.3.0 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.0 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.0. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.3.5 is released. Learn to use UDP version 0.3.5 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.5 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.5. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.2.2 is released. Learn to use UDP version 0.2.2 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.2.2 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.2.2. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.2.0 is released. Learn to use UDP version 0.2.0 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.2.0 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.2.0. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.1.1 is released. Learn to use UDP version 0.1.1 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.1.1 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.1.1. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.3.4 is released. Learn to use UDP version 0.3.4 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.4 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.4. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.3.2 is released. Learn to use UDP version 0.3.2 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.2 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.2. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.3.1 is released. Learn to use UDP version 0.3.1 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.3.1 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.3.1. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.2.4 is released. Learn to use UDP version 0.2.4 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.2.4 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.2.4. Developer can use this version ( chat.dim - UDP version
Maven dependency for chat.dim - UDP version 0.2.3 is released. Learn to use UDP version 0.2.3 in Maven based Java projects
Maven dependency for  chat.dim  - Version 0.2.3 of UDP released The developers of   chat.dim - UDP project have released the latest... - UDP library is 0.2.3. Developer can use this version ( chat.dim - UDP version

Ads