TCP is used when efficient data delivery has to be guaranteed. Therefore, inherently, the protocol is slow, since it does a lot of background work when delivering data. So, we use TCP when we want the data to reach safely and completely rather than requiring speed of delivery. UDP on the other hand ensures speedy delivery but without any check on the transmitted data. UDP also has a lesser overhead than TCP and therefore is used for Application level protocols where the number of requests is very high, eg DNS.
Regards
Binaek Sarkar
Foundation
***************************************************************
TCP is a transport layer protocol used by applicationsthat require guaranteed delivery. It is a sliding window protocol that provides handling for both timeouts and retransmissions.
TCP establishes a full duplex virtual connection between two endpoints. Each endpoint is defined by an IP address and a TCP port number. The operation of TCP is implemented as a finite state machine.
The byte stream is transfered in segments. The window size determines the number of bytes of data that can be sent before an acknowledgement from the receiver is necessary.
TCP
It does. see the tcp video tutorials
HTTP works over a TCP connection.HTTP works over a TCP connection.HTTP works over a TCP connection.HTTP works over a TCP connection.
You should use "netstat":netstat -p TCP
Aknowlagement
Yes, it does.
No, TCP/IP is the not the only protocol used in the world, but it is certainly one of the most popular. Older networks may still use IPX/SPX (Novell) which is a competitor to TCP/IP. Mainframes use SNA or LU6.2 protocols which are very different from TCP/IP. Appletalk is also a competitor to TCP/IP.
Server Message Block (SMB)( Explanation ) When NetBIOS is disabled, SMB runs over TCP/445. Kerberos runs on TCP/User Datagram Protocol (UDP)/88. RPC runs on TCP/135. HTTPS runs on TCP/443.
No it uses UDP packets.
UDP does not require as much resources as TCP but in the same time, it does not insure delivery of packets.
Telnet use port number 23,and connected to TCP
a tcp header contains the information of the source and destination networks and well as what port to access with out it the packet would not know where to go