dfx
0.1.0
Linux-based dynamic dataflow executor
Loading...
Searching...
No Matches
UdpCommon.hpp
1
// SPDX-FileCopyrightText: 2026 Vincent Leroy
2
// SPDX-License-Identifier: MIT
3
//
4
// This file is part of dfx.
5
//
6
// Licensed under the MIT License. See the LICENSE file in the project root
7
// for full license information.
8
9
#pragma once
10
11
// Project includes
12
#include <dfx-utilities/OwnedFd.hpp>
13
14
namespace
dfx::Core::UdpCommon
15
{
16
std::pair<std::string_view, std::string_view> parseAddress(std::string_view address);
17
18
Utils::OwnedFd
createSocket(std::string_view address,
bool
serverSide);
19
}
// !namespace dfx::Core::UdpCommon
dfx::Utils::OwnedFd
Owning RAII wrapper around a file descriptor.
Definition
OwnedFd.hpp:36
dfx::Core::UdpCommon
Definition
UdpCommon.hpp:15
lib
dfx-core
transports
common
UdpCommon.hpp
Generated by
1.14.0