Searched refs:ClientSocket (Results 1 – 2 of 2) sorted by relevance
34 class ClientSocket {36 ClientSocket(ClientSocket&& other) : fd_{other.fd_} {} in ClientSocket() function38 ClientSocket& operator=(ClientSocket&& other) {43 ClientSocket(int port);45 ClientSocket(const ClientSocket&) = delete;46 ClientSocket& operator=(const ClientSocket&) = delete;65 explicit ClientSocket(SharedFD fd) : fd_(fd) {} in ClientSocket() function80 ClientSocket Accept();
33 ClientSocket::ClientSocket(int port) in ClientSocket() function in cuttlefish::ClientSocket36 Message ClientSocket::RecvAny(std::size_t length) { in RecvAny()46 bool ClientSocket::closed() const { in closed()51 Message ClientSocket::Recv(std::size_t length) { in Recv()72 ssize_t ClientSocket::SendNoSignal(const uint8_t* data, std::size_t size) { in SendNoSignal()93 ssize_t ClientSocket::SendNoSignal(const Message& message) { in SendNoSignal()104 ClientSocket ServerSocket::Accept() { in Accept()109 return ClientSocket{client}; in Accept()