- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Explain the TCP Service Model in Computer Network
In TCP service, the sender and receiver needs to create endpoints called sockets. Each socket has an address which is made up of two parts.
An IP address of the host.
A port number that is 16 bit local to host (source or destination)
Both are collectively called socket addresses. A port is the TCP name for TSAP (Transport Service Access Point). It is essential to create a link between the sockets of the sender & receiver. Connections are used as identifiers at both ends. It can use the same socket for greater than one connection at a time.
We explain some of the sockets calls with their respectful meaning in the following table. It also should know that TCP does not support multicasting & broadcasting.
Different Socket Calls
The table given below explains the socket calls in TCP service model −
| Socket ||It creates a new socket call connection.|
| Bind||It gives a local location to a socket.|
| Listen||In response to making a new connection, and it shows a willingness to accept new connections.|
| Accept||It can block the caller unit when a connection attempt arrives.|
| Send||It can send data over the connection.|
| Receive||It can receive data over the connection.|
| Connect||It can attempt to make a connection.|
| Close||It can release the connection.|
The message boundaries are not maintained end to end. When an application reaches information to TCP, and an application needs that data to be shared directly, it sets the PUSH Flag, forcing the TCP to send information without any interruption.
But when TCP doesn't send the data received from the above application layer, it is collected for some time before sending. That is called Buffering.
The sending application puts some regulation data in the data flow and provides it to TCP, and then an urgent Flag is set. Therefore, TCP will break buffering information and send it directly.
On reaching the urgent data at destination, the receiving application is disrupted, and the urgent data flow is displayed to it. The last end of urgent data is always indicated for the application to understand that no further is urgent data.
- Explain the TCP Services in the Computer Network.
- What is the TCP Protocol in Computer Network?
- The Host-to-Network Layer in TCP/IP Model
- Explain the Network Model in DBMS?
- What are the Service Primitives in Computer Network?
- Explain the advantages and disadvantages of the TCP/IP model
- What is Transmission Control Protocol (TCP) in Computer Network?
- Explain various Computer Network Models
- Explain the services provided by Network Layer in Computer Network.
- Computer Networks – An Overview of TCP/IP Model
- Explain the ATM Cell Structure in Computer Network
- Explain the E-Mail Format in Computer Network.
- Explain the functions of WAN in Computer Network
- Explain the Token Ring Network (IEEE Standard 802.5) in Computer Network.
- The TCP/IP Reference Model