Add Udp::ReceiveMultiple method

This commit is contained in:
Jérôme Leclercq
2017-07-11 12:11:20 +02:00
parent 2ca844be63
commit b4732d8c17
6 changed files with 189 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ namespace Nz
std::size_t QueryMaxDatagramSize();
bool Receive(void* buffer, std::size_t size, IpAddress* from, std::size_t* received);
bool ReceiveMultiple(NetBuffer* buffers, std::size_t bufferCount, IpAddress* from, std::size_t* received);
bool ReceivePacket(NetPacket* packet, IpAddress* from);
bool Send(const IpAddress& to, const void* buffer, std::size_t size, std::size_t* sent);