What is the difference between TCP and UDP ?

Answer Posted / mukesh roy

TCP: is connection-oriented protocol. When a file or message
send it will get delivered unless connections fails. If
connection lost, the server will request the lost part.
There is no corruption while transferring a message.

UDP: is connectionless protocol. When you a send a data or
message, you don't know if it'll get there, it could get
lost on the way. There may be corruption while transferring
a message.

TCP: World Wide Web (Apache TCP port 80), e-mail (SMTP TCP
port 25 Postfix MTA), File Transfer Protocol (FTP port 21)
and Secure Shell (OpenSSH port 22) etc.

UDP: Domain Name System (DNS UDP port 53), streaming media
applications such as IPTV or movies, Voice over IP (VoIP),
Trivial File Transfer Protocol (TFTP) and online multiplayer
games etc

Is This Answer Correct ?    47 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain a time server?

770


Explain the generic term internet.

777


What is socket in java?

830


Tell me about networking classes and interfaces.

802


Explain a daytime server?

814


Where is the network interface card located?

704


What is jhttp web server?

961


If you do not want your program to halt while it waits for a connection, put the call to accept( ) in a separate thread?

716


Explain look for local ports?

809


What is the Difference between socket and servlet?

1013


What is a thread pool?

819


What is cookies in networking ?

798


What is the use of network interface?

668


What is a client tester?

733


What do you understand by the term network?

746