Chops Net IP
Loading...
Searching...
No Matches
var_len_hdr.hpp File Reference

Declarations and implementations for variable length binary messages. More...

#include <cstddef>
#include <cstdint>
#include <cassert>
#include <limits>
Include dependency graph for var_len_hdr.hpp:

Go to the source code of this file.

Classes

struct  chops::example::msg_hdlr< IOT >
 

Typedefs

using chops::example::tcp_msg_hdlr = msg_hdlr<chops::net::tcp_io>
 
using chops::example::udp_msg_hdlr = msg_hdlr<chops::net::udp_io>
 

Functions

std::size_t chops::example::decode_variable_len_msg_hdr (const std::byte *buf_ptr, std::size_t sz)
 
asio::net::ip::udp::endpoint chops::example::make_udp_endpoint (const char *addr, int port_num)
 

Variables

constexpr int chops::example::udp_max_buf_size = 65507
 

Detailed Description

Declarations and implementations for variable length binary messages.

Author
Cliff Green

Copyright (c) 2018-2019 by Cliff Green

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)