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









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
Image transfer using UDP - Java Beginners
getting is that I can transfer only text files properly.The file transfer is using UDP. I have used core java technologies like JFC,JDBC,UDP. My main...Image transfer using UDP  Hello I am new to Java.Currently I am
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
error at the oracle programm with jsp - JSP-Servlet
error at the oracle programm with jsp  an error occured at myodbc:jdbc:missig comma
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
could not find the main class programm will exit - error
could not find the main class programm will exit - error  when i tried to run the below mentioned programmed it gives a error states - could not find main class programm will exit. class Car { String name: String Color
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
INTERACTIVE TRANSMISSION OF JPEG2000 IMAGES USING WEB - JSP-Servlet
INTERACTIVE TRANSMISSION OF JPEG2000 IMAGES USING WEB  Hello Friend, I want INTERACTIVE TRANSMISSION OF JPEG2000 IMAGES USING WEB using jsp .. Can you help me
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 for getting the data from an api using br.readLine - Development process
error for getting the data from an api using br.readLine  hi the application is hanging while reading the data using readLine() function . actually the data is coming from remote using particular api call see the following code
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.../example/java/net/udp
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 java beans - JSP-Servlet
Error in using java beans  I am getting the following error when I... encountered an internal error () that prevented it from fulfilling this request... times more, I get the following error. message description The server
Error in MySQL Procedure Using JAVA Code
Error in MySQL Procedure Using JAVA Code  The following Java code (using Connector/J to create a stored procedure on MySQL 5.0) does not execute successfully. Identify the cause and available solutions. statement.execute
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
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
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
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
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
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
UDP - User Datagram Protocol
is very useful in getting the data using UDP protocol. With the help...) in open system interconnection model (OSI).   UDP Client in Java... to UDP server.   You can also develop the UPD server in Java that can
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
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
Free Big Data Training and Certification
Free Big Data Training and Certification - Get trained in Big Data technologies for free Big Data is one of the most growing industries today... and it professionals in the IT this field we are offering few Free Big Data Training
Free Big Data Training and Certification
Free Big Data Training and Certification - Get trained in Big Data technologies for free Big Data is one of the most growing industries today... and it professionals in the IT this field we are offering few Free Big Data Training
UDP (User Datagram Protocol)
the data but there are some differences in it. UDP is a connectionless protocol while TCP is connection oriented. UDP never track the data, so never.... UDP transport the data in the form of Data packets, whereas TCP transport
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
version 0.3.4 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.4 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.3.3 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.3 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.3.2 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.2 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.3.1 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.1 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.3.0 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.0 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.2.4 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.2.4 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.3.5 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.3.5 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.2.3 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.2.3 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.2.2 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.2.2 of UDP released The developers of   chat.dim - UDP project have released the latest
Maven dependency for chat.dim - UDP version 0.2.1 is released. Learn to use UDP version 0.2.1 in Maven based Java projects
version 0.2.1 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.2.1 of UDP released The developers of   chat.dim - UDP project have released the latest
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
version 0.2.0 in Java projects. Follow the step by step tutorial for using...Maven dependency for  chat.dim  - Version 0.2.0 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