PingMode enum
Ping 探测方式 / How the ping probes are performed.
Values
- tcp → const PingMode
-
TCP 握手往返(跨平台,默认)/ TCP handshake round trip (cross platform, default). ICMP echo requests require raw sockets and are unavailable to sandboxed applications, so a TCP connect to a reachable port is the portable equivalent.
- icmp → const PingMode
-
系统 ICMP
ping命令(仅桌面端)/ The system ICMPpingcommand (desktop only).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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