MCPcopy Create free account
hub / github.com/SFML/SFML / PendingPacket

Class PendingPacket

include/SFML/Network/TcpSocket.hpp:603–608  ·  view source on GitHub ↗

/////////////////////////////////////////////////////// \brief Structure holding the data of a pending packet ///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

601 ///
602 ////////////////////////////////////////////////////////////
603 struct PendingPacket
604 {
605 std::uint32_t size{}; //!< Data of packet size
606 std::size_t sizeReceived{}; //!< Number of size bytes received so far
607 std::vector<std::byte> data; //!< Data of the packet
608 };
609
610 ////////////////////////////////////////////////////////////
611 // Member data

Callers 2

disconnectMethod · 0.85
receiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected