AddressedEnvelope

A data structure for processing addressed datagrams, such as those used by UDP.

AddressedEnvelope.swift:20
struct AddressedEnvelope<DataType>

The AddressedEnvelope is used extensively on DatagramChannels in order to keep track of source or destination address metadata: that is, where some data came from or where it is going.