Supplemental data passed as the last argument to io::on_read_t
callback function called by recv_start()
.
More...
#include "handle-udp.hpp"
Public Attributes | |
const ::sockaddr * | peer |
The address of the remote peer. Can be nullptr . The pointer is valid for the duration of the callback only. More... | |
unsigned int | flags |
One or more or’ed uv_udp_flags constants. More... | |
Supplemental data passed as the last argument to io::on_read_t
callback function called by recv_start()
.
uv_udp_recv_cb
. Definition at line 37 of file handle-udp.hpp.
const ::sockaddr* uv::udp::io_info::peer |
The address of the remote peer. Can be nullptr
. The pointer is valid for the duration of the callback only.
(peer == nullptr)
indicates that there is nothing to read, and (peer != nullptr)
indicates an empty UDP packet is received. Definition at line 42 of file handle-udp.hpp.
unsigned int uv::udp::io_info::flags |
One or more or’ed uv_udp_flags
constants.
uv_udp_recv_cb
, uv_udp_flags
. Definition at line 46 of file handle-udp.hpp.