Lines Matching defs:UDPSocket
1 //===-- UDPSocket.cpp -----------------------------------------------------===//
9 #include "lldb/Host/common/UDPSocket.h"
30 UDPSocket::UDPSocket(NativeSocket socket)
35 UDPSocket::UDPSocket(bool should_close) : Socket(ProtocolUdp, should_close) {}
37 size_t UDPSocket::Send(const void *buf, const size_t num_bytes) {
42 Status UDPSocket::Connect(llvm::StringRef name) {
46 Status UDPSocket::Listen(llvm::StringRef name, int backlog) {
50 llvm::Expected<std::unique_ptr<UDPSocket>>
51 UDPSocket::CreateConnected(llvm::StringRef name) {
52 std::unique_ptr<UDPSocket> socket;
91 socket.reset(new UDPSocket(send_fd));
128 std::string UDPSocket::GetRemoteConnectionURI() const {