replies_needed_comp.docx

Reply needed 1

TCP/IP is a networking protocol suite that Microsoft Windows uses to communicate over the internet with other computers. It interacts with DNS and security tech such as IPsec to assist in the successful and secure transfer of IP packets between machines. TCP/IP is most commonly used to communicate over networks.

TCP, or Transmission Control Protocol, handles the sequencing and acknowledgment of packets sent, and the recovery of packets lost during transmission.

UDP, or User Datagram Protocol, provides a one-to-one or one-to-many, connectionless, unreliable communications server that is used when the amount of data to be transferred is small, such as data that fits into a single packet.

Both UDP and TCP use ports to identify communications for each TCP/IP program.

TCP

· Connection-oriented service; a session is established between hosts.

· TCP guarantees delivery through the use of acknowledgments and sequenced delivery of data.

· Programs that use TCP are provided assurance of reliable data transport.

· TCP is slower, has higher overhead requirements, and only supports point-to-point communication.

UDP

· Connectionless Service; no session is established between hosts.

· UDP does not guarantee or acknowledge delivery, or sequence data.

· Programs that use UDP are responsible for providing reliability needed to transport data.

· UDP is fast, has low overhead requirements, and can support point-to-point and point-to-multipoint communication.

References

Microsoft. (2005). User Datagram Protocol (UDP). Retrieved from https://technet.microsoft.com/en-us/library/cc785220(v=ws.10).aspx

Microsoft. (2003). How TCP/IP Works. Retrieved from https://technet.microsoft.com/en-us/library/cc786128(v=ws.10).aspx

Reply needed 2

TCP and UDP are both intent protocol that relay data from one computer to another through a network. The difference between the two is TCP is connection oriented which means it establishes connection between the devices before actual data is sent. This is done by a 3 way handshake, syn, syn-ack, and ack. Since TCP is connection oriented it is more reliable because packets are sure to arrive at the destination. Although TCP is a lot slower than UDP, it is used for instances that requires guaranteed data transmission such as and during virtual terminal connection (TELNET), FTP for transferring files, HTTP and HTTPs for world wide web connection.

UDP on the other hand is a “connection-less” protocol which means data is sent whether the receiving end get it or not. It is a lot faster than TCP but does not guarantee packets will arrive at the destination. UDP exist when speed is a factor, and is used during real-time data transmission such VOIP or skype, DNS, DHCP, or online gaming. (Rodriguez, 2014)

Reference:

Rodriguez, E. (2014). TCP vs. UDP. Retreived from: http://www.skullbox.net/tcpudp.php

Reply needed 3

TCP and UDP are both Layer 4 or Transport Layer protocols. That being said TCP and UDP are used as the transport protocol to send and receive data. The man differences between the two is that TCP is connection oriented and UDP is connection-less. TCP is considered reliable and UDP is unreliable. TCP numbers every packet with what is called a sequence number to make sure the packets can be in order. Even though UDP is unreliable and doesn't guarantee the packet to the destination, it is faster than TCP. You normally use UDP when the speed of the transmission of the data is more important then the integrity of the data. An example of why you would use UDP is phone calls, live TV, and playing online video games.