Searched refs:ClientSocket (Results 1 – 10 of 10) sorted by relevance
32 class ClientSocket {34 ClientSocket(std::uint16_t port);35 ~ClientSocket();37 ClientSocket(ClientSocket&& other);38 ClientSocket& operator=(ClientSocket&& other);40 ClientSocket(const ClientSocket&) = delete;41 ClientSocket& operator=(const ClientSocket&) = delete;
44 using cfp::ClientSocket;46 ClientSocket::ClientSocket(std::uint16_t port) in ClientSocket() function in ClientSocket71 ClientSocket::~ClientSocket() { close(); } in ~ClientSocket()73 ClientSocket::ClientSocket(ClientSocket&& other) in ClientSocket() function in ClientSocket78 ClientSocket& ClientSocket::operator=(ClientSocket&& other) { in operator =()85 std::vector<unsigned char> ClientSocket::RecvAll(ssize_t count) { in RecvAll()100 std::uint16_t ClientSocket::RecvUInt16() { in RecvUInt16()104 std::uint32_t ClientSocket::RecvUInt32() { in RecvUInt32()108 void ClientSocket::close() { in close()
40 cfp::ClientSocket Connect() { in Connect()42 auto conn = cfp::ClientSocket{port}; in Connect()49 std::tuple<std::uint16_t, std::uint16_t> RecvHeader(cfp::ClientSocket* conn) { in RecvHeader()60 cfp::ClientSocket* conn) { in RecvEncodedAudio()
35 class ClientSocket {37 ClientSocket(ClientSocket&& other) : fd_{other.fd_} {} in ClientSocket() function39 ClientSocket& operator=(ClientSocket&& other) {44 ClientSocket(int port);46 ClientSocket(const ClientSocket&) = delete;47 ClientSocket& operator=(const ClientSocket&) = delete;66 explicit ClientSocket(cvd::SharedFD fd) : fd_(fd) {} in ClientSocket() function81 ClientSocket Accept();
27 using cvd::ClientSocket;30 ClientSocket::ClientSocket(int port) in ClientSocket() function in ClientSocket33 cvd::Message ClientSocket::RecvAny(std::size_t length) { in RecvAny()43 bool ClientSocket::closed() const { in closed()48 cvd::Message ClientSocket::Recv(std::size_t length) { in Recv()69 ssize_t ClientSocket::SendNoSignal(const uint8_t* data, std::size_t size) { in SendNoSignal()90 ssize_t ClientSocket::SendNoSignal(const Message& message) { in SendNoSignal()101 ClientSocket ServerSocket::Accept() { in Accept()106 return ClientSocket{client}; in Accept()
45 void StartClient(ClientSocket sock);47 void StartClientThread(ClientSocket sock);
45 void VncServer::StartClient(ClientSocket sock) { in StartClient()50 void VncServer::StartClientThread(ClientSocket sock) { in StartClientThread()
38 VncClientConnection(ClientSocket client,140 ClientSocket client_;
137 ClientSocket client, std::shared_ptr<VirtualInputs> virtual_inputs, in VncClientConnection()
204 cvd::ClientSocket client_socket) { in HandleClient()