A programm for error free transmission of data using UDP in java

Ads
 

A programm for error free transmission of data using UDP in java

Hi !

My name is Waleed and Im studing Telecommunication engineering in Oslo engineering college. I've got a project in java programming that should be submitted on 01.05.11, the problem is im not that good at java programming :( .

Here is the project, i hope you can help me with this.

Project Part B

The task is to create applications for error-free transmission of data (transmitter and receiver). The program will use UDP for transmission. Error-free transmission here means that all packages should arrive, and the data should be free of bit error,also the data should be stored in the correct order, and that only one copy of each packet to be stored. You should probably have a sequence number, checksum and a timer that provides retransmission. Start with a protocol based on stop-and-wait. If you have time you can also extend to the Go-Back-N Selective Repeat or later. You can simulate the error in the network, by disconnecting form the network. The program should be able to handle a such errors. Make also your own test routines that simulate bit error and / or packet loss.

Minimum Requirements:

The program should divide a file in datagram packets, adds the sequence number and checksum, and waits for acknowledgment before the next packet sent.

Objective: The program should transfer an image without an error even though the connection is down for a while.

Additional (A-candidates): Go-back-N, Selective Repeat. Extra security in the form of authentication, message integrity, Encryption ... The transmitter shall: read data from file divide the contents into smaller packages cause packets sequence number cause packets checksum send packets for the selected protocol This implies in particular that there must be timers that provides retransmission if receipt is not come.

Recipient shall: Checks the checksum, and send a receipt if the package is OK. Controls the sequence number Store data on file (if the sequence number is correct).

View Answers

Ads









Related Tutorials/Questions & Answers:
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... is to create applications for error-free transmission of data (transmitter and receiver). The program will use UDP for transmission. Error-free transmission
write a programm using java
write a programm using java  print the following using java programming
Advertisements
java programm
format of the input data ?? the program writes an error message to the standard...java programm  Create program, which will calculate number of days..., you can use them just to verify results. Input data: The program reads one
menu drive programm in java
menu drive programm in java  calculate area of circle, square,rectangele in menu driven programme in java
menu drive programm in java
menu drive programm in java  calculate area of circle, square,rectangele in menu driven programme in java
top 20 basic programm of java
top 20 basic programm of java  what is the top 20 rule to learn the basic of java.   Learn Java through the following links: http://www.roseindia.net/java/ http://www.roseindia.net/java/beginners/index.shtml
construction in java programm
construction in java programm  p*(1+r/100) at the end of year 200 p is population r is growth rate class name: population Data members : float p,r Member methods: population (int a, int b):Constructor to initialize p and r
Error in reading Excel data using jsp
Error in reading Excel data using jsp  ERROR while executing bellow code:java.io.IOException: Invalid header signature; read 576460838270094160...() method shows the following Error message on console
Java UDP
Java UDP       TCP and UDP are transport protocols used for communication between computers. UDP(User Datagram Protocol) is a very simple connectionless protocol. UDP can
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
programm
18| |84 69 54| |138 114 90|   Java Matrix
Fetching the exact data from file using java
Fetching the exact data from file using java  **hi ... i am having one .lst file.. that file consists of instructions and opcodes.. now i want to fetch only the opcode from that file.. could u pls anyone guide me this using java
How to export data from html to excel sheet by using java
How to export data from html to excel sheet by using java   How to export data from html to excel sheet by using java
How to export data from jsp to excel sheet by using java
How to export data from jsp to excel sheet by using java   How to export data from jsp to excel sheet by using java
reading data using struts and jsp java
reading data using struts and jsp java  how can i read data entered by user into a textbox (jsp page) into struts action class ex emp id,so... employee related data
Free Java stuffs
Free Java The Java or JDK is free for development and deployment... as very big applications for big organization using Java technologies. The Java..., web and mobile devices. Developers are developing both commercial and free java
How to export data from html file to excel sheet by using java
How to export data from html file to excel sheet by using java    How to export data from html file to excel sheet by using java
How to export data from html file to excel sheet by using java
How to export data from html file to excel sheet by using java   reading the data from Html file
sending data to google chart api from mysql database using java
sending data to google chart api from mysql database using java  how to send data from mysql database to google chart api using java
free data analyst courses
free data analyst courses  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: free data... learn the topic "free data analyst courses". Also tell me which
How to display data in jsp from dao using java beans?
How to display data in jsp from dao using java beans?  Hi I need to display data in jsp pulling from dao using java beans, Please can anyone give me the sample application with above topics. Any help would be highly appreciated
UDP Server in Java
UDP Server in Java     .... Usually UDP is used to deliver a small amount of data to a large number of recipient... of UDP server. This section provides you the brief description and program
Free Java Download
Free Java Download   Hi, I am beginner in Java and trying to find the url to download Java. Can anyone provide me the url of Free Java Download ? Is Java free? Thanks
data analyst courses free
data analyst courses free  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: data analyst courses free Try to provide me good examples or tutorials links so that I can
Error in reading Excel data using jsp even having .xls and POI Library in respective folders
Error in reading Excel data using jsp even having .xls and POI Library in respective folders  Hi, hello.xls and POI library files are there in respective folders. the printStackTrce() method shows the following Error message
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
Error in using jstl tags
Error in using jstl tags  I'm trying to use jstl tags in jsp.i've included the jstl.jsr file in lib folder of my project and also written the foll.../jstl/core" %> but still i'm getting the error "CANNOT FIND THE TAG LIBRARY
Free download java
Free download java  Hi, Where can I download java for absolutely free and quickly? Thanks
Error using SoapClient() in PHP
Error using SoapClient() in PHP  I'm trying to access WSDL(Web Service Definition Language) file using SoapClient() of PHP. I found that WSDL file... parameter and active SSL on my server, still I'm getting an error. Here is the code I'm
Free Java online Training
Free Java online Training  Hi, From where I can take online free Java Training classes? Thanks   Hi, Ok, We will provide online free... for registering for Free Online Java Training classes. Thanks
Download free java
Download free java  Hi, How to get Java for free? It is possible to download and install java on windows 64bit system? Thanks

Ads