uvw 3.1.0
Loading...
Searching...
No Matches
Public Attributes | List of all members
uvw::udp_data_event Struct Reference

UDP data event. More...

#include <udp.h>

Collaboration diagram for uvw::udp_data_event:
Collaboration graph
[legend]

Public Attributes

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

Detailed Description

UDP data event.

Definition at line 22 of file udp.h.

Member Data Documentation

◆ data

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

A bunch of data read on the stream.

Definition at line 25 of file udp.h.

◆ length

std::size_t uvw::udp_data_event::length

The amount of data read on the stream.

Definition at line 26 of file udp.h.

◆ partial

bool uvw::udp_data_event::partial

True if the message was truncated, false otherwise.

Definition at line 28 of file udp.h.

◆ sender

socket_address uvw::udp_data_event::sender

A valid instance of socket_address.

Definition at line 27 of file udp.h.


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