Sponge
CS144's user-space TCP library
Classes | Namespaces | Variables
tcp_state.hh File Reference
#include "tcp_receiver.hh"
#include <string>
Include dependency graph for tcp_state.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TCPState
 Summary of a TCPConnection's internal state. More...
 

Namespaces

 TCPReceiverStateSummary
 

Variables

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