Home
last modified time | relevance | path

Searched refs:DEAFULT_READ_BUFFER_SIZE (Results 1 - 6 of 6) sorted by relevance

/foundation/CastEngine/castengine_wifi_display/services/network/client/
H A Dtcp_client.cpp143 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnClientReadable()
144 retCode = SocketUtils::RecvSocket(fd, (char *)buf->Data(), DEAFULT_READ_BUFFER_SIZE, flags_, error); in OnClientReadable()
163 } while (retCode == (int32_t)DEAFULT_READ_BUFFER_SIZE); in OnClientReadable()
H A Dudp_client.cpp133 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnClientReadable()
134 int32_t retCode = read(fd, buf->Data(), DEAFULT_READ_BUFFER_SIZE); in OnClientReadable()
/foundation/CastEngine/castengine_wifi_display/services/network/session/
H A Dtcp_session.cpp106 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnSessionReadble()
107 retCode = SocketUtils::RecvSocket(fd, (char *)buf->Data(), DEAFULT_READ_BUFFER_SIZE, 0, error); in OnSessionReadble()
H A Dudp_session.cpp112 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnSessionReadble()
115 retCode = ::recvfrom(fd, buf->Data(), DEAFULT_READ_BUFFER_SIZE, 0, (struct sockaddr *)&clientAddr, &len); in OnSessionReadble()
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dsocket_utils.h23 constexpr int32_t DEAFULT_READ_BUFFER_SIZE = 1500; member
/foundation/CastEngine/castengine_wifi_display/services/network/server/
H A Dudp_server.cpp140 DataBuffer::Ptr buf = std::make_shared<DataBuffer>(DEAFULT_READ_BUFFER_SIZE); in OnServerReadable()
143 retCode = ::recvfrom(fd, buf->Data(), DEAFULT_READ_BUFFER_SIZE, 0, (struct sockaddr *)&clientAddr, &len); in OnServerReadable()

Completed in 3 milliseconds