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

 
 


Waleed Basmeir
A programm for error free transmission of data using UDP in java
0 Answer(s)      2 years and 2 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).

View Answers









Related Pages:
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
programm
18| |84 69 54| |138 114 90|   Java Matrix
UDP - User Datagram Protocol
interconnection model (OSI).   UDP Client in Java In this section, you...;  UDP Server in Java Providing you information relating to all....    Sending and receiving information to the UDP Client in Java
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
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
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
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
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
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
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
Multicast under UDP(client server application)
Multicast under UDP(client server application)   UDP is used to support mulicast. Recall that UDP is connectionless and non reliable. Hence... for multicast applications under UDP. For more information, check the following
error at the oracle programm with jsp - JSP-Servlet
error at the oracle programm with jsp  an error occured at myodbc:jdbc:missig comma
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
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
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
What is HSDPA?
for transmission areas like video and streaming music where high data transfer... send data from your phone to the source using HSDPA. The HS-DSCH channel is shared... the codes of the original transmission. In other words, the data received
Sending large data to Action Class error. Struts code - Struts
Sending large data to Action Class error. Struts code  I have a jsp... softwares.  You must have a set of free tools most frequently used... is - Visual Studio 2005 in the case of .NET technology - Eclipse in the case of Java
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 
J2ME -- Stream video from a udp server - MobileApplications
J2ME -- Stream video from a udp server  HI, I wanted to develope a mobile application in j2ME to stream video from a udp server by providing the Ip address of the server and the port no. to connect to and using the UDP protocol
Free JSP download Books
Free JSP download Books          Java Servlets and JSP free download books... you can learn Java web programming using this book's fresh approach, real-world
compilation error - Java Beginners
: C:\>javac -d . Group.java 3)For execute the programm : C:\>java...compilation error  sir what is the error inthis code after... { //instance variables int id; String name; //to store data
JAVA JAZZ UP - Free online Java magazine
JAVA JAZZ UP - Free online Java magazine   ... Java Around the Globe   Using Java means a better user.... Using a Java client means Yahoo! Go can offer a more interesting user interface
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
what is the error - Java Beginners
();//System.out.println("Data : "+ data);}}if you want error free program the correct...{public void showdata(){System.out.println("Data : " + data);}}// java... : "+ data);}}this program will also show such type of error ? DATA HAS
Submit Articles Free - Free Resources For Articles Submission
Submit Articles Free - Free Resources For Articles Submission       The free Resources for articles submission. Articles submission to the free articles
Strong Typing,Java Training Courses,Java Training delhi,Online Java Training,Online Java Tutor,Free Java Training,Online Free Java Training,Free Online Java Training,Full Java
the string into a number to be used of an addition operator and produce an error free... classifies values and expressions into data types. In computer programming a type of data indicates a set of values that have the same sort of generic meaning
VoIP Free Software
VoIP Free Software What is free VoIP software? There are many different categories of free VoIP software packages, including: 1. Free VoIP Software Phones, 2. Free VoIP Gateways 3. Free VoIP Gatekeepers,4. Free VoIP
Free Programmers Magazine
; Free magazine on Java Technology. The Java Jazz Up is free monthly magazine...) Java Jazz Up Team is proud to offer  a FREE online magazine on Java... Issue 2  (Aug 2007) Java Jazz Up Team is proud to offer  a FREE
error come
error come  com.techi.bean.Employee cannot be cast to [Ljava.lang.Object;... i display the data action to jsp using set list atribute on action... this data to jsp. The jsp, in turn, get the list object using getAttribute() method
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 detection - Java Beginners
error detection   Hi Amardeep and all friends out... to create a queue using a linkedlist, but when i tried to run them they are giving me an error,of "(" or "[" expected. i tried to change everything i can
Receiving and sending a request to UDP server in Java
Receiving and sending a request to UDP server in Java... will know how to receive and send messages by UDP server. First of all, UDP server receives messages and sends some information to UDP client. The brief
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
Java file get free space
Java file get free space In this section, you will learn how to find the free...(); System.out.println("Free space= " + value + " bytes"); } } You can find the number of unallocated bytes of a disc or partition using the method getFreeSpace
JAVA JAZZ UP - Free online Java magazine
JAVA JAZZ UP - Free online Java magazine       Our this issue contains:  Java Jazz Up Issue 3 Index... of data access technologies like JDBC, Java Data Objects and Object Relational Mapping
db error - Java Beginners
. if you are using mysql then put the datatype as "longtext". repply your...(null,"Data is successfully inserted into the database." ); st.close
Free Java Books
Free Java Books         Sams Teach... Development Using VisualAge for Java With the introduction of the Sun... of Web services using the Java 2 Platform. This tutorial requires a full
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
Java error incompatible types
using = = in assignment operator. The Java Compiler show an error... Java error incompatible types       Java Error incompatible types occurred when
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