Wednesday, March 5, 2008
TCP: The Connection-Oriented Transport Protocol
TCP important features that worth mentioning:
-
Stream-oriented processing— TCP processes data in a stream. In other words, TCP can accept data a byte at a time rather than as a preformatted block. TCP formats the data into variable-length segments, which it will pass to the Internet layer.
-
Resequencing— If data arrives at the destination out of order, the TCP module is capable of resequencing the data to restore the original order.
-
Flow control — TCP's flow control feature ensures that the data transmission won't outrun or overrun the destination machine's capability to receive the data. This is especially critical in a diverse environment in which there may be considerable variation of processor speeds and buffer sizes.
-
Precedence and security— The Department of Defense specifications for TCP call for optional security and priority levels that can be set for TCP connections. Many TCP implementations, however, do not provide these security and priority features.
-
Graceful close— TCP is as careful about closing a connection as it is about opening a connection. The graceful close feature ensures that all segments have been sent and received before a connection is closed.
Well-Known UDP Ports
Service | UDP Port Number | Description |
---|---|---|
echo | 7 | |
discard | 9 | |
systat | 11 | |
daytime | 13 | |
netstat | 15 | |
qotd | 17 | |
chargen | 19 | |
time | 37 | |
name | 42 | |
domain | 53 | |
nameserver | 53 | |
bootps | 67 | |
bootpc | 68 | |
tftp | 69 | |
portmap | ||
sunrpc | 111 | |
ntp | 123 | |
nbname | 137 | |
nbdatagram | 148 | |
sgmp | 153 | |
snmp | 161 | |
snmp-trap | 162 |
Well-Known TCP Ports
Service | TCP Port Number | Brief Description |
---|---|---|
tcpmux | 1 | |
compressnet | 2 | |
compressnet | 3 | Compression utility |
echo | 7 | |
discard | 9 | |
systat | 11 | |
daytime | 13 | |
netstat | 15 | |
qotd | 17 | |
chargen | 19 | |
ftp-data | 20 | |
ftp | 21 | |
telnet | 23 | |
smtp | 25 | |
nsw-fe | 27 | |
time | 37 | |
name | 42 | |
domain | 53 | |
nameserver | 53 | |
DHCP | 67 | Dynamic Host Configuration Protocol |
gopher | 70 | |
rje | 77 | |
finger | 79 | |
http | 80 | |
link | 87 | |
supdup | 95 | |
hostnames | 101 | |
iso-tsap | 102 | |
x400 | 103 | |
x400-snd | 104 | X.400 mail send |
pop | 109 | |
pop2 | 109 | |
pop3 | 110 | |
portmap | 111 | |
sunrpc | 111 | |
auth | 113 | |
sftp | 115 | |
path | 117 | |
uucp-path | 117 | |
nntp | 119 | |
nbsession | 139 | |
NeWS | 144 | |
tcprepo | 158 |