uvw 2.12.1
Loading...
Searching...
No Matches
uvw::UDPDataEvent Struct Reference

UDPDataEvent event. More...

#include <udp.h>

Collaboration diagram for uvw::UDPDataEvent:

Public Attributes

std::unique_ptr< char[]> data
 
std::size_t length
 
Addr sender
 
bool partial
 

Detailed Description

UDPDataEvent event.

It will be emitted by UDPHandle according with its functionalities.

Definition at line 28 of file udp.h.

Member Data Documentation

◆ data

std::unique_ptr<char[]> uvw::UDPDataEvent::data

A bunch of data read on the stream.

Definition at line 31 of file udp.h.

◆ length

std::size_t uvw::UDPDataEvent::length

The amount of data read on the stream.

Definition at line 32 of file udp.h.

◆ partial

bool uvw::UDPDataEvent::partial

True if the message was truncated, false otherwise.

Definition at line 34 of file udp.h.

◆ sender

Addr uvw::UDPDataEvent::sender

A valid instance of Addr.

Definition at line 33 of file udp.h.


The documentation for this struct was generated from the following file: