Explicitly set SO_SNDBUF size to fix drops on Windows and address other PR feedback

This commit is contained in:
Chris Love
2021-09-04 13:18:06 -07:00
parent 2d1217006b
commit 497fa60f57
3 changed files with 22 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ public:
explicit udp_sink(udp_sink_config sink_config)
: config_{std::move(sink_config)}
{
client_.init(config_.server_host, config_.server_port);
}
~udp_sink() override = default;