Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Dserver_connection.cpp43 SharedFD conn_; member in cuttlefish::webrtc_streaming::UnixServerConnection
184 conn_->Send(reinterpret_cast<const uint8_t*>(str.c_str()), str.size(), 0); in Send()
187 << conn_->StrError(); in Send()
200 conn_ = SharedFD::SocketLocalClient(addr_, false, SOCK_SEQPACKET); in Connect()
201 if (!conn_->IsOpen()) { in Connect()
202 LOG(ERROR) << "Failed to connect to unix socket: " << conn_->StrError(); in Connect()
249 rset.Set(conn_); in ReadLoop()
264 if (rset.IsSet(conn_)) { in ReadLoop()
265 auto size = conn_->Recv(buffer.data(), 0, MSG_TRUNC | MSG_PEEK); in ReadLoop()
271 auto res = conn_->Recv(buffer.data(), buffer.size(), MSG_TRUNC); in ReadLoop()
[all …]