Lines Matching refs:UDPSocket
30 UDPSocket::UDPSocket(NativeSocket socket) : Socket(ProtocolUdp, true, true) { in UDPSocket() function in UDPSocket
34 UDPSocket::UDPSocket(bool should_close, bool child_processes_inherit) in UDPSocket() function in UDPSocket
37 size_t UDPSocket::Send(const void *buf, const size_t num_bytes) { in Send()
42 Status UDPSocket::Connect(llvm::StringRef name) { in Connect()
46 Status UDPSocket::Listen(llvm::StringRef name, int backlog) { in Listen()
50 Status UDPSocket::Accept(Socket *&socket) { in Accept()
54 llvm::Expected<std::unique_ptr<UDPSocket>>
55 UDPSocket::Connect(llvm::StringRef name, bool child_processes_inherit) { in Connect()
56 std::unique_ptr<UDPSocket> socket; in Connect()
95 socket.reset(new UDPSocket(send_fd)); in Connect()
132 std::string UDPSocket::GetRemoteConnectionURI() const { in GetRemoteConnectionURI()