Home
last modified time | relevance | path

Searched refs:data_ (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/asio/asio_chat/main/
Dchat_message.hpp31 return data_; in data()
36 return data_; in data()
46 return data_ + header_length; in body()
51 return data_ + header_length; in body()
69 std::strncat(header, data_, header_length); in decode_header()
83 std::memcpy(data_, header, header_length); in encode_header()
87 char data_[header_length + max_body_length]; member in chat_message
/hal_espressif-3.6.0/examples/protocols/asio/udp_echo_server/main/
Dudp_echo_server.cpp35 asio::buffer(data_, max_length), sender_endpoint_, in do_receive()
40 data_[bytes_recvd] = 0; in do_receive()
41 std::cout << data_ << std::endl; in do_receive()
54 asio::buffer(data_, length), sender_endpoint_, in do_send()
65 char data_[max_length]; member in server
/hal_espressif-3.6.0/examples/protocols/asio/tcp_echo_server/main/
Decho_server.cpp28 socket_.async_read_some(asio::buffer(data_, max_length), in do_read()
33 data_[length] = 0; in do_read()
34 std::cout << data_ << std::endl; in do_read()
43 asio::async_write(socket_, asio::buffer(data_, length), in do_write()
55 char data_[max_length]; member in session
/hal_espressif-3.6.0/examples/protocols/asio/ssl_client_server/main/
Dasio_ssl_main.cpp143 socket_.async_read_some(asio::buffer(data_), in do_read()
147 std::cout.write(data_, length); in do_read()
157 asio::async_write(socket_, asio::buffer(data_, length), in do_write()
167 char data_[max_length]; member in Session