# ConnectionState

The state of a network connection.

| Enums ||
|---|---|
| `CONNECTION_STATE_UNSPECIFIED` | The default connection state. |
| `LISTENING` | The port is listening for incoming connections. |
| `ESTABLISHED` | A connection has been established. |
| `TIME_WAIT` | The connection is waiting for a timeout. |
| `CLOSE_WAIT` | The connection is waiting for a connection termination request from the local application. |
| `CLOSED` | The connection is closed. |
| `SYN_SENT` | A connection request has been sent. |
| `SYN_RECEIVED` | A connection request has been received. |
| `FIN_WAIT1` | The connection is waiting for a connection termination request from the remote host. |
| `FIN_WAIT2` | The connection is waiting for a connection termination request from the local application. |
| `LAST_ACK` | The connection is waiting for an acknowledgment of the final connection termination request. |