socket state

The stage a TCP socket has reached in its lifecycle, such as LISTEN, SYN-SENT, ESTABLISHED or TIME-WAIT.

In more detail

A state is evidence about where a connection stopped. A client stuck in SYN-SENT sent its SYN but got no reply; ESTABLISHED means both ends can exchange bytes. ss shows the state of each socket, and comparing both endpoints explains a stalled exchange.

Example

client=SYN-SENT server=LISTEN next=reply points to a missing or blocked reply.

Related terms

Taught in

References

Certification courses