UDX class

The main UDX class that provides reliable, multiplexed, and congestion-controlled streams over UDP.

Constructors

UDX.new()
Creates a new UDX instance.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createStream(int id, {bool framed = false, int initialSeq = 0}) UDXStream
Creates a new UDX stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getAddressFamily(String host) int
Returns the address family (4 for IPv4, 6 for IPv6, 0 for invalid).
isIPv4(String host) bool
Returns true if the host is an IPv4 address.
isIPv6(String host) bool
Returns true if the host is an IPv6 address.