Sponge
CS144's user-space TCP library
Variables
TCPReceiverStateSummary Namespace Reference

Variables

const std::string ERROR = "error (connection was reset)"
 
const std::string FIN_RECV = "input to stream has ended"
 
const std::string LISTEN = "waiting for SYN: ackno is empty"
 
const std::string SYN_RECV = "SYN received (ackno exists), and input to stream hasn't ended"
 

Variable Documentation

◆ ERROR

const std::string TCPReceiverStateSummary::ERROR = "error (connection was reset)"

Definition at line 67 of file tcp_state.hh.

◆ FIN_RECV

const std::string TCPReceiverStateSummary::FIN_RECV = "input to stream has ended"

Definition at line 70 of file tcp_state.hh.

◆ LISTEN

const std::string TCPReceiverStateSummary::LISTEN = "waiting for SYN: ackno is empty"

Definition at line 68 of file tcp_state.hh.

◆ SYN_RECV

const std::string TCPReceiverStateSummary::SYN_RECV = "SYN received (ackno exists), and input to stream hasn't ended"

Definition at line 69 of file tcp_state.hh.