Home
last modified time | relevance | path

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

/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dmain.cpp42 explicit SocketSender(cuttlefish::SharedFD socket) : socket_{socket} {} in SocketSender()
51 if (socket_.operator->()) { // check that socket_ was not moved-from in ~SocketSender()
52 socket_->Shutdown(SHUT_WR); in ~SocketSender()
59 if (!socket_->IsOpen()) { in SendAll()
63 socket_->Send(packet + written, in SendAll()
67 << strerror(socket_->GetErrno()); in SendAll()
76 cuttlefish::SharedFD socket_; member in __anoncf1dec2f0111::SocketSender
81 explicit SocketReceiver(cuttlefish::SharedFD socket) : socket_{socket} {} in SocketReceiver()
91 auto size = socket_->Read(packet, length); in Recv()
100 cuttlefish::SharedFD socket_; member in __anoncf1dec2f0111::SocketReceiver