TCP is the protocol of network layer, It is connection oriented protocol. UDP is the protocol of network layer, It is connection less protocol.
No TCP a reliable protocol whereas UDP is unreliable.
Transport layer TCP/IP Protocols are TCP and UDP
transport
DNS does.
FTP uses TCP.Usage of Transport Layer protocol (tcp or udp) depends upon various applications.Such as FTP uses TCP, TFTP uses UDP.
the main difference between UDP and TCP is that UDP is not a reliable protocol.
Port No. for Tranmission Control Protocal (TCP) is 6 Port No. for User Datagram Protocol (UDP) is 17
A datagram socket represents a connectionless, non-guaranteed communication protocol. It represents the UDP protocol in the TCP/IP suite.Contrast this with a stream socket, which represents a connection oriented, guaranteed, communication protocol. It represents the TCP protocol in the TCP/IP suite.UDP is the underlying protocol for TCP. If you are talking OSI model, UDP is layer 3, and TCP is layer 4.
UDP and TCP sockets are layer 4 ports which are associated with certain services, ie TCP80 refers to the HTTP (web) protocol, TCP443 refers to the HTTPS (SSL) secure protocol and TCP/UDP53 refers to DNS.
The main communication or network protocol is the TCP/IP protocol. (Transmission Control Protocol/Internet Protocol)
**The TCP transport layer protocol uses windowing and acknowledgments for reliable transfer of data. **The TCP and UDP port numbers are used by application layer protocols. **The TCP transport layer protocol provides services to direct the data packets to their destination hosts.