Core Library 1.7.0.0 Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.

Classes | Enumerations
core_lib::asio::udp Namespace Reference

The udp namespace. More...

## Classes
class | MulticastReceiver
| A general purpose multicast receiver. More...
class | MulticastSender
| A general purpose multicast sender. More...
class | MulticastTypedSender
| A generic UDP sender. More...
class | SimpleMulticastReceiver
| A simplified multicast receiver, which uses the class MessageHeader as the message header type. More...
class | SimpleMulticastSender
| A simplified Multicast sender, which uses the class MessageHeader as the message header type. More...
class | SimpleUdpReceiver
| A simplified UDP receiver, which uses the class MessageHeader as the message header type. More...
class | SimpleUdpSender
| A simplified UDP sender. More...
class | UdpReceiver
| A general purpose UDP receiver. More...
class | UdpSender
| A general purpose UDP sender. More...
class | UdpTypedSender
| A generic UDP sender. More...

## Enumerations
enum | eUdpOption { eUdpOption::broadcast, eUdpOption::unicast }
| The udp options enumeration. More...
enum | eUdpDatagramMaxSize : size_t { UDP_DATAGRAM_MAX_SIZE = 65507 }
| UDP datagram maximum size for user data. More...
enum | eDefaultUdpSize : size_t { DEFAULT_UDP_BUF_SIZE = 8192 }
| UDP default buffer size. More...
enum | eMulticastTTL { eMulticastTTL::sameHost = 0, eMulticastTTL::sameSubnet = 1, eMulticastTTL::sameSite = 32, eMulticastTTL::sameRegion = 64, eMulticastTTL::sameContinent = 128, eMulticastTTL::unrestricted = 255 }
| The multicast TTL enumeration. More...

## Detailed Description

The udp namespace.

## Enumeration Type Documentation

## ◆ eDefaultUdpSize

enum core_lib::asio::udp::eDefaultUdpSize : size_t

UDP default buffer size.

By default we use a size of 8KiB but this can be changed by the user.

## ◆ eMulticastTTL

enum core_lib::asio::udp::eMulticastTTL
| strong

The multicast TTL enumeration.

Enumerator
sameHost | Multicast only to same host.
sameSubnet | Multicast only to same subnet.
sameSite | Multicast only to same site.
sameRegion | Multicast only to same region.
sameContinent | Multicast only to same continent.
unrestricted | Multicasts are unrestricted.

## ◆ eUdpDatagramMaxSize

enum core_lib::asio::udp::eUdpDatagramMaxSize : size_t

UDP datagram maximum size for user data.

A UDP datagram can have a total max size of 65535 bytes, however the size available for "user" data is a bit less as we have to allow 8 bytes for UDP header and 20 bytes for the IP header.

## ◆ eUdpOption

enum core_lib::asio::udp::eUdpOption
| strong

The udp options enumeration.

Enumerator
broadcast | udp broadcasts.
unicast | udp unicasts.