llvm/lldb/source/Host/common/UDPSocket.cpp

//===-- UDPSocket.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Host/common/UDPSocket.h"

#include "lldb/Host/Config.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"

#if LLDB_ENABLE_POSIX
#include <arpa/inet.h>
#include <sys/socket.h>
#endif

#include <memory>

usingnamespacelldb;
usingnamespacelldb_private;

static const int kDomain =;
static const int kType =;

static const char *g_not_supported_error =;

UDPSocket::UDPSocket(NativeSocket socket) :{}

UDPSocket::UDPSocket(bool should_close, bool child_processes_inherit)
    :{}

size_t UDPSocket::Send(const void *buf, const size_t num_bytes) {}

Status UDPSocket::Connect(llvm::StringRef name) {}

Status UDPSocket::Listen(llvm::StringRef name, int backlog) {}

Status UDPSocket::Accept(Socket *&socket) {}

llvm::Expected<std::unique_ptr<UDPSocket>>
UDPSocket::Connect(llvm::StringRef name, bool child_processes_inherit) {}

std::string UDPSocket::GetRemoteConnectionURI() const {}