| | Ethernet | TCP |
|---|---|---|
| Introduction (from Wikipedia) | Ethernet /ˈiːθərnɛt/ is a family of computer networking technologies for local area networks (LANs) commercially introduced in 1980. Standardized in IEEE 802.3, Ethernet has largely replaced competing wired LAN technologies. | |
| Acronym for | Transmission Control Protocol | |
| Connection | Transmission Control Protocol is a connection-oriented protocol. | |
| Function | As a message makes its way across the internet from one computer to another. This is connection based. | |
| Usage | TCP is suited for applications that require high reliability, and transmission time is relatively less critical. | |
| Use by other protocols | HTTP, HTTPs, FTP, SMTP, Telnet | |
| Ordering of data packets | TCP rearranges data packets in the order specified. | |
| Speed of transfer | The speed for TCP is slower than UDP. | |
| Reliability | There is absolute guarantee that the data transferred remains intact and arrives in the same order in which it was sent. | |
| Header Size | TCP header size is 20 bytes | |
| Common Header Fields | Source port, Destination port, Check Sum | |
| Streaming of data | Data is read as a byte stream, no distinguishing indications are transmitted to signal message (segment) boundaries. | |
| Weight | TCP is heavy-weight. TCP requires three packets to set up a socket connection, before any user data can be sent. TCP handles reliability and congestion control. | |
| Data Flow Control | TCP does Flow Control. TCP requires three packets to set up a socket connection, before any user data can be sent. TCP handles reliability and congestion control. | |
| Error Checking | TCP does error checking and error recovery. Erroneous packets are retransmitted from the source to the destination. | |
| Fields | 1. Sequence Number, 2. AcK number, 3. Data offset, 4. Reserved, 5. Control bit, 6. Window, 7. Urgent Pointer 8. Options, 9. Padding, 10. Check Sum, 11. Source port, 12. Destination port | |
| Acknowledgement | Acknowledgement segments | |
| Handshake | SYN, SYN-ACK, ACK |
Add content for Ethernet vs. TCP or review and improve the comparison table above.