100 uint16_t local_port { 0 };
NetworkTransportHint
Portal-level transport hint, independent of Core::NetworkTransport.
@ SHARED_MEMORY
Zero-copy IPC on the same machine.
@ TCP
Reliable ordered byte stream. Bulk data, session-oriented.
@ AUTO
Let NetworkFoundry pick based on StreamProfile.
@ UDP
Low-latency, unordered datagrams. OSC, control, sparse streams.
std::span< const uint8_t > ByteView
Convenience alias for a read-only byte view.
uint64_t StreamID
Opaque handle returned by NetworkFoundry when a stream is opened.
StreamProfile
Data characteristics that drive transport and framing selection.
@ ORDERED_BULK
Large payloads, loss-intolerant, ordering required.
@ REALTIME_BULK
Large payloads, loss-tolerant, latency-sensitive.
@ REALTIME_SMALL
Small payloads, loss-tolerant, latency-sensitive.
FramingPolicy
How outbound payloads are framed on the wire.
constexpr StreamID INVALID_STREAM
Full configuration for an outbound or bidirectional stream.
std::string address
Remote address. Empty = listen only.
Describes the remote (or local) side of a network stream.