WASIPreview3IpSocketAddress class final
IP endpoint used by WASI 0.3 TCP and UDP sockets.
Constructors
- WASIPreview3IpSocketAddress.ipv4({required int port, required int a, required int b, required int c, required int d})
- Creates an IPv4 socket address.
- WASIPreview3IpSocketAddress.ipv6({required int port, required int a, required int b, required int c, required int d, required int e, required int f, required int g, required int h, int flowInfo = 0, int scopeId = 0})
- Creates an IPv6 socket address.
Properties
- address → WASIPreview3IpAddress
-
IP address.
final
- family → WASIPreview3IpAddressFamily
-
Address family.
no setter
- flowInfo → int
-
IPv6 flow information, or zero for IPv4.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- host → String
-
Host text accepted by Dart networking APIs.
no setter
- port → int
-
TCP or UDP port.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopeId → int
-
IPv6 scope identifier, or zero for IPv4.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override