Lines Matching refs:UDPSocket
32 UDPSocket::UDPSocket(NativeSocket socket) : Socket(ProtocolUdp, true, true) { in UDPSocket() function in UDPSocket
36 UDPSocket::UDPSocket(bool should_close, bool child_processes_inherit) in UDPSocket() function in UDPSocket
39 size_t UDPSocket::Send(const void *buf, const size_t num_bytes) { in Send()
44 Status UDPSocket::Connect(llvm::StringRef name) { in Connect()
48 Status UDPSocket::Listen(llvm::StringRef name, int backlog) { in Listen()
52 Status UDPSocket::Accept(Socket *&socket) { in Accept()
56 llvm::Expected<std::unique_ptr<UDPSocket>>
57 UDPSocket::Connect(llvm::StringRef name, bool child_processes_inherit) { in Connect()
58 std::unique_ptr<UDPSocket> socket; in Connect()
99 socket.reset(new UDPSocket(send_fd)); in Connect()
136 std::string UDPSocket::GetRemoteConnectionURI() const { in GetRemoteConnectionURI()