What is the difference between TCP and UDP ?

Answer Posted / aneesa

TCP stands for transmission control protocol.it is an connection oriented service.for example telephonic conversation, that is high reliability will be there and also ensure ordered delivery that is if any data yet does not reach the receiver can again ask for the data.using TCP we can send plenty of information that is it sends stream of infinite length.where as UDP is an user datagram protocol.it is connectionless for example postal services.it does not ensures guaranteed delivery and also unreliable and order of delivery might be incorrect.it is of light weight.it can be used for sending small packets.

Is This Answer Correct ?    24 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why socketutil is used?

812


What is jhttp web server?

983


What is socket in java?

854


Tell me about networking classes and interfaces.

826


What is cookies in networking ?

814


What you know about random port?

761


What is the main difference between Client side Java Script and and Server side Java Script how actually they run on both side with Example.

876


What is the use of network interface?

695


Public serversocket(int port, int queuelength) throws ioexception, bindexception?

895


What are the advantages and disadvantages of java sockets.

814


What is a client tester?

758


What is a thread pool?

833


What is network interface name?

741


What are the advantages and disadvantages of sockets?

789


What is an http server?

764