Home
last modified time | relevance | path

Searched refs:header_length (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/asio/asio_chat/main/
Dchat_message.hpp21 enum { header_length = 4 }; enumerator
41 return header_length + body_length_; in length()
46 return data_ + header_length; in body()
51 return data_ + header_length; in body()
68 char header[header_length + 1] = ""; in decode_header()
69 std::strncat(header, data_, header_length); in decode_header()
81 char header[header_length + 1] = ""; in encode_header()
83 std::memcpy(data_, header, header_length); in encode_header()
87 char data_[header_length + max_body_length];
Dclient.hpp66 asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
Dserver.hpp107 asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()