Flow 1.0.0
Flow project: Full implementation reference.
Namespaces | Functions
net_flow_fwd.hpp File Reference
#include "flow/common.hpp"
#include <ostream>

Go to the source code of this file.

Namespaces

namespace  flow
 Catch-all namespace for the Flow project: A collection of various production-quality modules written in modern C++17, originally by ygoldfel.
 
namespace  flow::net_flow
 Flow module containing the API and implementation of the Flow network protocol, a TCP-inspired stream protocol that uses UDP as underlying transport.
 

Functions

std::ostream & flow::net_flow::operator<< (std::ostream &os, const Function< std::ostream &(std::ostream &)> &os_manip)
 Applies the given ostream manipulator function to the given ostream – just like standard streams already allow, but with the function given as a flow::Function object instead of a raw function pointer. More...
 
std::ostream & flow::net_flow::operator<< (std::ostream &os, const Socket_buffer &sock_buf)
 Prints a printable representation of the data in sock_buf to the given standard ostream. More...
 
std::ostream & flow::net_flow::operator<< (std::ostream &os, const Sequence_number &seq_num)
 Prints given sequence number to given ostream. More...
 
size_t flow::net_flow::hash_value (const Sequence_number &seq_num)
 Free function that returns seq_num.hash(); has to be a free function named hash_value for boost.hash to pick it up. More...