summaryrefslogtreecommitdiff
path: root/modules/io-tls/examples/tls_echo.hpp
blob: 8ecd5ccf8cc4f4599182c1be1bc6aa1e9ec1a8da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <string>
#include <cstdint>

namespace saw {
struct message {
	std::array<uint8_t,256> data;
	uint64_t already_read = 0;
	uint64_t already_written = 0;
};

constexpr std::string echo_address = "::1";
constexpr uint16_t echo_port = 4332;

}