Port Number | Process Name | Description |
---|---|---|
1 | TCPMUX | TCP Port Service Multiplexer |
5 | RJE | Remote Job Entry |
17 | Quote | Quote of the Day |
20 | FTP-DATA | File Transfer Protocol--Data |
21 | FTP | File Transfer Protocol--Control |
23 | TELNET | Telnet |
25 | SMTP | Simple Mail Transfer Protocol |
43 | NICNAME | Who Is |
79 | FINGER | Finger |
Command | Parameters Expected |
---|---|
ABORT | Local connection name |
ACTIVE-OPEN | Local port, remote socket Optional: ULP timeout, timeout action, precedence, security, options |
CLOSE | Local connection name |
SEND | Local connection name, buffer address, data length, push flag, urgent flag Optional: ULP timeout, timeout action |
Command | Parameters Expected |
---|---|
CLOSING | Local connection name |
DELIVER | Local connection name, buffer address, data length, urgent flag |
ERROR | Local connection name, error description |
OPEN-ID | Local connection name, remote socket, destination address |
Variable Name | Description |
---|---|
Send Variables | |
SND.UNA | Send Unacknowledged |
SND.NXT | Send Next |
SND.WND | Send window |
SND.UP | Sequence # of last urgent set |
SND.WL1 | Sequence # for last window update |
SND.WL2 | Ack # for last window update |
SND.PUSH | Seq. # of last pushed set |
ISS | Initial send sequence number |
Receive Variables | |
RCV.NXT | Seq. # of next received set |
RCV.WND | # of sets that can be received |
RCV.UP | Seq. # of last urgent data |
RCV.IRS | Initial receive sequence number |
Source Port (16 bits) | Destination (16 bits) |
Sequence Number (32 bit) | |
Acknowledge Number (32 bit) | |
Data Offset and Flags | Window (16 bits) |
Checksum (16 bits) | Urgent Pointer (16 bits) |
Options and Padding |
TCP uses a connection table to keep trace of all of the connections
UDP is connectionless and has no error-recovery capabilities
Source Port(16 bits) | Destination Port(16 bits) |
Length(16 bits) | Checksum(16 bits) |
Data |