115k views
3 votes
A Transmission Control Protocol (TCP) connection is in working order and both sides can send each other data. What is the TCP socket state?

1 Answer

2 votes

Answer:

ESTABLISHED

Step-by-step explanation:

What is TCP?

A Transmission Control Protocol (TCP) is a communication protocol which allows the exchange of data between computers in a network.

When a Transmission Control Protocol connection is up and running meaning that both sides can send and receive data then the corresponding TCP socket states is known as "ESTABLISHED".

The most common socket states are:

LISTEN:

Before a TCP connection is made, there needs to be a server with a listener that will listen on incoming connection request.

ESTABLISHED:

When a TCP connection is up and running meaning that both sides can send and receive data.

CLOSED:

The CLOSED state means that there is no TCP connection.

There are a total of 11 TCP socket states:

1. LISTEN

2. SYN-SENT

3. SYN-RECEIVED

4. ESTABLISHED

5. FIN-WAIT-1

6. FIN-WAIT-2

7. CLOSE-WAIT

8. CLOSING

9. LAST-ACK

10. TIME-WAIT

11. CLOSED

User Autra
by
5.4k points