Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners A programm for error free transmission of data using UDP in java
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Waleed Basmeir
A programm for error free transmission of data using UDP in java
0 Answer(s)      3 years and 8 months ago
Posted in : Java Beginners


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).


Advertisement
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
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 at the oracle programm with jsp - JSP-Servlet
error at the oracle programm with jsp  an error occured at myodbc:jdbc:missig comma
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
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
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
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
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
programm
18| |84 69 54| |138 114 90|   Java Matrix
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
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
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
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
UDP (User Datagram Protocol)
the confirmation report. UDP and TCP both are used to transport the data... is connection oriented. UDP never track the data, so never shows... receiving, if the data losses anywhere it resends that particular data. UDP
UDP Client in Java
UDP Client in Java     ... or messages for UDP server by the UDP client. For this process you must require..., then you send messages to UDP server. The sending process has been defined just 
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
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
Free download java
Free download java  Hi, Where can I download java for absolutely free and quickly? 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
Free Java Software
Free Java Software  Hi, What all free and open source softwares are available in Java? Thanks   Hi, Please see Open Source Java. Thanks
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
Free software of Java
Free software of Java  Hi, What all Free software of Java is available these days? Thanks   Hi, Please see Java open source software. Thanks
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
 

 

 

DMCA.com