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
15{
16std::pair<std::string_view, std::string_view> parseAddress(std::string_view address);
17
18Utils::OwnedFd createSocket(std::string_view address, bool serverSide);
19} // !namespace dfx::Core::UdpCommon
Owning RAII wrapper around a file descriptor.
Definition OwnedFd.hpp:36
Definition UdpCommon.hpp:15