StormByte-Network 4.0.0
C++26 networking module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Network::DiscoveryReply Struct Reference

One datagram received during discovery. More...

#include <StormByte/network/discovery.hxx>

Collaboration diagram for StormByte::Network::DiscoveryReply:

Public Attributes

Safe::Binary payload
 Bytes returned by the announcing server.
Safe::String from_address
 Source address of the datagram.
unsigned short from_port = 0
 Source port of the datagram.

Detailed Description

One datagram received during discovery.

The payload is opaque to Network. The source address and port identify the sender of this reply (unicast response to the query).

Member Data Documentation

◆ from_address

Safe::String StormByte::Network::DiscoveryReply::from_address

Source address of the datagram.

◆ from_port

unsigned short StormByte::Network::DiscoveryReply::from_port = 0

Source port of the datagram.

◆ payload

Safe::Binary StormByte::Network::DiscoveryReply::payload

Bytes returned by the announcing server.


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