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
What are the advantages and disadvantages of sockets?
What is cookies in networking ?
What is an http server?
What is the use of network interface?
What are the advantages and disadvantages of java sockets.
What is a thread pool?
Explain a daytime server?
What is a client tester?
What is HttpURL connection ?
How we can make simple java program for Server/Client Communication
What is jhttp web server?
Where is the network interface card located?
What is a listener in networking?
What is socket in java?
What is network programming in java?