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 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
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
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
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
programm
18| |84 69 54| |138 114 90|   Java Matrix
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
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
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 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
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
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
machine learning using python free course
machine learning using python free course  Hi, I am beginner in Data...: machine learning using python free course Try to provide me good examples or tutorials links so that I can learn the topic "machine learning using
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
Till Slip Program Error Free - No Main Method
Till Slip Program Error Free - No Main Method  Hi there i am a java begineer programmer i recently started developing programes on NetBeans using the GUI as it is more reliable and efficent - the current program that i am working
jquery post data error
jquery post data error  getting post data error in JQuery ..any idea why?   Please visit the following link: JQuery Post Data
data analysis with python free course
data analysis with python free course  Hi, I am beginner in Data...: data analysis with python free course Try to provide me good examples or tutorials links so that I can learn the topic "data analysis with python free
ModuleNotFoundError: No module named 'transmission'
;transmission' error? Thanks   Hi, In your python...;transmission' error will be solved. Thanks...ModuleNotFoundError: No module named 'transmission'  Hi, My Python
data science with python course free
: data science with python course free Try to provide me good examples or tutorials links so that I can learn the topic "data science with python course...data science with python course free  Hi, I am beginner in Data
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
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
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
version 0.1.1 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.1.1 of UDP released The developers of   chat.dim - UDP project have released the latest
Maven dependency for chat.dim - UDP version 0.1.2 is released. Learn to use UDP version 0.1.2 in Maven based Java projects
version 0.1.2 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.1.2 of UDP released The developers of   chat.dim - UDP project have released the latest

Ads