Home
last modified time | relevance | path

Searched refs:UdpSocket (Results 1 – 1 of 1) sorted by relevance

/system/core/fastboot/
Dsocket.cpp110 class UdpSocket : public Socket { class
114 UdpSocket(Type type, cutils_socket_t sock);
124 DISALLOW_COPY_AND_ASSIGN(UdpSocket);
127 UdpSocket::UdpSocket(Type type, cutils_socket_t sock) : Socket(sock) { in UdpSocket() function in UdpSocket
137 bool UdpSocket::Send(const void* data, size_t length) { in Send()
143 bool UdpSocket::Send(std::vector<cutils_socket_buffer_t> buffers) { in Send()
153 ssize_t UdpSocket::Receive(void* data, size_t length, int timeout_ms) { in Receive()
253 return std::unique_ptr<UdpSocket>(new UdpSocket(UdpSocket::Type::kClient, sock)); in NewClient()
273 return std::unique_ptr<UdpSocket>(new UdpSocket(UdpSocket::Type::kServer, sock)); in NewServer()