Tcpip Cool Blue
Tcpip Cool Blue
Abhilash D
Project Engineer
C-DAC, Hyderabad
Universal Language?
A 0.0.0.0 127.255.255.255
B 128.0.0.0 191.255.255.255
C 192.0.0.0 223.255.255.255
D 224.0.0.0 239.255.255.255
E 240.0.0.0 247.255.255.255
TCP software uses the 6-bit Code Bits to determine the purpose and contents
of the segment.
Urg This flag indicates that this segment contains an Urgent pointer
field. The Urgent Pointer field is explained below. 1 = Urgent, 0 = Not
Urgent.
Ack This flag indicates that this segment contains an
Acknowledgement field. The Acknowledgement field is explained
below. 1 = Ack, 0 = No Ack.
Psh The segment requests a Push. TCP software usually gathers
enough data to fill the transmit buffer prior to transmitting the data. 1 =
Push, 0 = No Push.
If an application requires data to be transmitted even though a
buffer may not be full then a PUSH flag bit is set.
At the receive side the PUSH makes the data available to the
application without delay.
Centre for Development of Advanced 34
Computing, Hyderabad
TCP Header Fields Contd..
TCP software uses the 6-bit Code Bits to determine the purpose and
contents of the segment.
Checksum. This field verifies the integrity of the TCP header and the
TCP data.
It is mandatory and is calculated using a pseudo-header similar to
UDP checksum.
Urgent Pointer. This field presents a way for the sender to transmit
emergency data to the receiver. The URG flag must be set.
The Urgent Pointer is a 16 bit positive offset that is added to the
sequence number field in the TCP header to obtain the sequence
number of the last byte of the urgent data.
The application determines where the urgent data starts in the data
stream.
The field is normally used by the application to indicate the pressing
of an interrupt key during Telnet/Rlogin or a file transfer abort
during FTP.