Lines Matching refs:TCPSocket

59 TCPSocket::TCPSocket(bool should_close, bool child_processes_inherit)  in TCPSocket()  function in TCPSocket
62 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() function in TCPSocket
68 TCPSocket::TCPSocket(NativeSocket socket, bool should_close, in TCPSocket() function in TCPSocket
74 TCPSocket::~TCPSocket() { CloseListenSockets(); } in ~TCPSocket()
76 bool TCPSocket::IsValid() const { in IsValid()
81 uint16_t TCPSocket::GetLocalPortNumber() const { in GetLocalPortNumber()
97 std::string TCPSocket::GetLocalIPAddress() const { in GetLocalIPAddress()
109 uint16_t TCPSocket::GetRemotePortNumber() const { in GetRemotePortNumber()
119 std::string TCPSocket::GetRemoteIPAddress() const { in GetRemoteIPAddress()
131 std::string TCPSocket::GetRemoteConnectionURI() const { in GetRemoteConnectionURI()
139 Status TCPSocket::CreateSocket(int domain) { in CreateSocket()
150 Status TCPSocket::Connect(llvm::StringRef name) { in Connect()
190 Status TCPSocket::Listen(llvm::StringRef name, int backlog) { in Listen()
251 void TCPSocket::CloseListenSockets() { in CloseListenSockets()
257 Status TCPSocket::Accept(Socket *&conn_socket) { in Accept()
272 auto io_sp = IOObjectSP(new TCPSocket(socket.first, false, inherit)); in Accept()
287 std::unique_ptr<TCPSocket> accepted_socket; in Accept()
307 accepted_socket.reset(new TCPSocket(sock, *this)); in Accept()
320 int TCPSocket::SetOptionNoDelay() { in SetOptionNoDelay()
324 int TCPSocket::SetOptionReuseAddress() { in SetOptionReuseAddress()