Lines Matching refs:TCPSocket
49 TCPSocket::TCPSocket(bool should_close, bool child_processes_inherit) in TCPSocket() function in TCPSocket
52 TCPSocket::TCPSocket(NativeSocket socket, const TCPSocket &listen_socket) in TCPSocket() function in TCPSocket
58 TCPSocket::TCPSocket(NativeSocket socket, bool should_close, in TCPSocket() function in TCPSocket
64 TCPSocket::~TCPSocket() { CloseListenSockets(); } in ~TCPSocket()
66 bool TCPSocket::IsValid() const { in IsValid()
71 uint16_t TCPSocket::GetLocalPortNumber() const { in GetLocalPortNumber()
87 std::string TCPSocket::GetLocalIPAddress() const { in GetLocalIPAddress()
99 uint16_t TCPSocket::GetRemotePortNumber() const { in GetRemotePortNumber()
109 std::string TCPSocket::GetRemoteIPAddress() const { in GetRemoteIPAddress()
121 Status TCPSocket::CreateSocket(int domain) { in CreateSocket()
132 Status TCPSocket::Connect(llvm::StringRef name) { in Connect()
170 Status TCPSocket::Listen(llvm::StringRef name, int backlog) { in Listen()
230 void TCPSocket::CloseListenSockets() { in CloseListenSockets()
236 Status TCPSocket::Accept(Socket *&conn_socket) { in Accept()
251 auto io_sp = IOObjectSP(new TCPSocket(socket.first, false, inherit)); in Accept()
266 std::unique_ptr<TCPSocket> accepted_socket; in Accept()
283 accepted_socket.reset(new TCPSocket(sock, *this)); in Accept()
296 int TCPSocket::SetOptionNoDelay() { in SetOptionNoDelay()
300 int TCPSocket::SetOptionReuseAddress() { in SetOptionReuseAddress()