 Hello everyone, welcome to the session on TCP package, learning outcome. At the end of this session, students will be able to describe the concept of TCP package and components of TCP package about TCP package, TCP is a one of the protocol in a transport layer of OSR reference model and it can contain the different functions features and applications and packet format. Today, we will discuss about the TCP packet format in this one. TCP is a complex protocol as compared to the other protocol like UDPI and SETP some other protocol. It is a stream oriented stream services and connection oriented protocol with involved in the state transition diagram. For transmitting the data, it can be used in the state transition diagram and is a connection oriented. We present simplified and bare bones TCP package. It means if you want to define or if you want to transfer the data by using a TCP protocol, it means you should be you should be send in the data in the form of TCP package ok. The package involves tables called it can contain the different components that are TCR transmission control blocks, setup timers and three software modules that are main module and input processing module, output processing module ok. By using this one the user can send the data and receive the data after that the user whenever the user want to transmit the data then that time they can use the different components of TCP package ok. Here this the below figure it can contain the different components like five components are there and the interaction how the all the components can interact with each other while transmitting the data in the form of TCP package. First one is a transmission control blocks ok in a brief you can call it as a TCP, second one is a timers, third one is a main module, fourth one is a input processing module, fifth one is output processing module ok. This is a block diagram of TCP package it can contains whatever the five components are there that components are there in the TCP package. This is a main TCP package the user can use this package of processing the data it means of transmitting the data from client to the server. It is there in the IP layer of the TCP protocol the application can hear the processor message to and from the application. If the user want to transfer the data from one layer to another layer or from client to the server then that time they have to use this it means this is to a message to and from the application. If the user want to send the data they can use here and it can contains a timers, TCP or timers and TCP that is a transmission control block and output processing module input processing module this is the main module and TCP segment in segment and out segment. Here the user can send the data by using TCP segment this is a in segment and then after going the data to the main module the input processing module can perform the whatever the input side data they want to perform they can perform the data they can start the timer and then they can perform after that it can send to the transmission control blocks. Whatever the data will goes to the TCP TCP it can entry to check in the receiver side then after entering the data the data will goes to the output processing module then that it can display to the outside. Let us see one by one in detail about the different components of TCP package ok first one is a transmission control blocks TCP is a connection oriented protocol used in the transport layer and connection may be open for long period of time as you know TCP is an connection oriented protocol whenever the user is transmitting the data from one user to another user the connection should be open to complete whole scenario it means if the user want to transfer the user amount of data it means the connection should be remains open to transfer all the data to the next user. To control the transmission connection TCP uses structure to hold information about each connection this is called TCP what is TCP it means to control the connection in the TCP TCP uses the structure to hold the information about each connection it means if the user transmitting 3 or 4 data it means each and every time the information will be stored in the TCP that is transmission control block ok because at any time there can be several connections TCP keeps an array of TCP in the form of table it means however the data can goes to through particular components all the data will be stored in the table that is TCP table. TCP table usually refer to as the TCP in the diagram ok here it can contain the so many fields how it can takes and how what are the what are the different components are a basis we have to use it means here it can contains a local IP address this field can defines the local machine IP address IP address of the local machine this to used for this connection ok local port number the port local port number port number used by this connection ok remote IP address it can defines IP address of the remote machine used by this connection it means receiving machine IP address we have to define before transmitting the data ok remote machine or remote port number it can defines the remote port number used by this connection this connection it means while transmitting if the user want to transfer the data it means they how to establish the connection to establish at the time of establishment we have to use this different IP address as well as port numbers ok interfaces this will defines the local interface it means the user to the local machine communication ok next local window this field which can comprise comprise several sub fields holds the information about the window at the local TCP ok a remote window this field which can comprise several sub fields also information about the windows at the remote TCP here the local TCP is there and here remote TCP is there and sending sequence number whatever the user want to transfer the data that all the data can contain some sequence some numbers that we can call it as sequence number this field holds the sending sequence number the client side ok receiving sequence number this field holds the receiving receiving sequence number whatever the sequence number used by the sender side that sequence whether the data is reached all the sequence sequence data to the receiver side or not we have to clarify that so for that purpose we have to use the receiving sequence number ok sending acknowledgement number this field holds the value of the acknowledgement number sent it means in the sending side whatever the after sending the data or packet the user how to wait for the confirmation that is acknowledgement from the receiver side ok here a round trip time in the previous video we have discussed about the round trip time before transmitting any data we have to fix a timing if the data is not reached to the destination the client how to reach and the data for that once again they have to reach at the timing and then they can reach and the data this several fields may be used to hold the information about RTT RTT is a round trip time ok time out values several field can be used to hold the different time out values such as retransmission time out persistent time out and keep alive time out ok these are the different types of timers are there use these timers we have to use in TCP data transmission ok buffer size this will define the size of the buffer at the local TCP buffer pointer can define the pointer to the buffer where the ratio ratio data are kept they are ready by the read by the application ok next part is can kind as one question that is think and write you can get this one question that is what is TCP segment list some difference between segment and packet now pass the video and answer the above question now answer for the above question is TCP segment packet in TCP is called segment if you are transmitting the data by using TCP protocol that packet we can call design segments in TCP ok a TCP segment is called packet segment we are sending the data through packet it means that packet can get a different segments typically a segment our datagram is a packet when the datagram our packet is processed by the network layer it adds the IP header to the data and it becomes the IP packet this is the difference between and transport layer segments the data into smaller units called segments datagrams are so called packets the difference between packet segment it means the packets we have used in the TCP protocol and segment datagrams we have to use in the UDP protocol TCP packet continued here timers as I said in the previous video we have discussed about the different types of timers that are four types of timers that is a retransmission timer keep a lot timer time and wait timer and persistent timer these are different types of timers we have already discussed in the previous video here I am not going to explain much about the timers TCP timers you the several time timers to ensure the execute to delay are not encountered during communication ok main module the next component of the TCP package the main module is the involved by an arriving TCP segment a timeout event or the message from the application program it is a very complicated module because the action to be taken depends on the current state of the TCP ok the several approaches have been used to implement two-dimensional array and so on to implement this one we have to use the main module implementation of the main module ok input processing module the input processing module handles all the details needed to process the data or the air and acknowledgement issued when TCP is in the established stage ok this module this module sends an acknowledgement if needed take care of the window size announcement does error checking and so on the details of the this the details of this module are not needed for an introductory text but because here there is no need because the input processing is directly the it depends upon the user sometimes the user may send the huge data sometimes the user may send the less data also for that this is not necessary next we can go to the output processing module ok the output processing module handles the details needed to send out data issued from the application programs when TCP is in the established stage this module handles retransmission timeout persistent timeout and so on one of the ways to implement this module is to use and small transmission diagrams to handle different output conditions ok these are this is a reference I have used to prepare the OPPT thank you