9#ifndef LLDB_HOST_COMMON_TCPSOCKET_H
10#define LLDB_HOST_COMMON_TCPSOCKET_H
19 TCPSocket(
bool should_close,
bool child_processes_inherit);
21 bool child_processes_inherit);
42 Status Listen(llvm::StringRef name,
int backlog)
override;
Status Listen(llvm::StringRef name, int backlog) override
bool IsValid() const override
void CloseListenSockets()
Status Accept(Socket *&conn_socket) override
uint16_t GetRemotePortNumber() const
Status CreateSocket(int domain)
std::string GetRemoteConnectionURI() const override
std::string GetLocalIPAddress() const
std::string GetRemoteIPAddress() const
uint16_t GetLocalPortNumber() const
int SetOptionReuseAddress()
std::map< int, SocketAddress > m_listen_sockets
Status Connect(llvm::StringRef name) override
A class that represents a running process on the host machine.