9#ifndef LLDB_HOST_COMMON_UDPSOCKET_H
10#define LLDB_HOST_COMMON_UDPSOCKET_H
17 UDPSocket(
bool should_close,
bool child_processes_inherit);
19 static llvm::Expected<std::unique_ptr<UDPSocket>>
20 Connect(llvm::StringRef name,
bool child_processes_inherit);
27 size_t Send(
const void *buf,
const size_t num_bytes)
override;
29 Status Listen(llvm::StringRef name,
int backlog)
override;
Status Listen(llvm::StringRef name, int backlog) override
std::string GetRemoteConnectionURI() const override
static llvm::Expected< std::unique_ptr< UDPSocket > > Connect(llvm::StringRef name, bool child_processes_inherit)
size_t Send(const void *buf, const size_t num_bytes) override
Status Accept(Socket *&socket) override
A class that represents a running process on the host machine.