English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

this is related to java

2006-07-21 02:58:51 · 3 answers · asked by jai 2 in Science & Mathematics Engineering

3 answers

pl refer following web page

http://java.sun.com/docs/books/tutorial/networking/overview/networking.html

2006-07-21 06:40:12 · answer #1 · answered by dhamas 3 · 0 0

TCP and UDP both are used for transferring data or packets on internet. They are the protocols to sent the data. Both perform the same job but the way is different. TCP stands for “Transmission Control Protocol”. UDP stands for “User datagram Protocol”. The main difference between them is that the TCP is connection oriented while UDP is connectionless. In TCP after the connection is setup, bidirectional sending of data is possible but in UDP, packets are sent in chunks. TCP is more reliable than UDP but UDP is faster than TCP.
TCP VS UDP
TCP:

TCP stands for “Transmission Control Protocol”. TCP is a connection oriented protocol in which the data can be transferred bidirectional after the setup of connection. TCP is reliable but comparatively slow as it keeps the data smooth and checks error. The order of data at receiving end is same as on sending end. Header size of TCP is 20 bytes.
UDP:

UDP stands for “User datagram Protocol”. UDP is connectionless protocol in which data is needed to be send in chunks. UDP don’t have error checking mechanism that is why it is less reliable but is more faster in data transferring. Header size of UDP is 8 bytes.
source: http://www.differencebtw.com/difference-between-tcp-and-udp/

2015-09-10 00:32:37 · answer #2 · answered by DD 3 · 1 0

Receiver doesn't understand the particular address of the sender. it truly is understand to both router or the host it truly is there interior an similar community because the sender. If both computers are on an similar community then senders MAC address should be obtained utilising ARP.

2016-12-02 01:19:39 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers