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:
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 in reading Excel data using jspError 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
top 20 basic programm of javatop 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 programmconstruction 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.../example/
java/net/
udp free data analyst coursesfree 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 freedata 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-ServletError 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 CodeError 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 coursedata 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 coursemachine 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 Till Slip Program Error Free - No Main MethodTill 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 MethodTill 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 MethodTill 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 MethodTill 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 MethodTill 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 MethodTill 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 errorjquery post
data error getting post
data error in JQuery ..any idea why?
Please visit the following link:
JQuery Post
Data Error in using jstl tagsError 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 PHPError 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 CertificationFree 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 CertificationFree 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