UDPSocket class
Constructors
- UDPSocket.new({JSObject? $$context$$})
Properties
- $$context$$ ↔ JSObject
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bind(
[num? port]) → num -
close(
) → void -
connect(
UDPSocketConnectOption option) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offClose(
[UDPSocketOffCloseCallback? listener]) → void -
offError(
[UDPSocketOffErrorCallback? listener]) → void -
offListening(
[OffListeningCallback? listener]) → void -
offMessage(
[UDPSocketOffMessageCallback? listener]) → void -
onClose(
UDPSocketOnCloseCallback listener) → void -
onError(
UDPSocketOnErrorCallback listener) → void -
onListening(
OnListeningCallback listener) → void -
onMessage(
UDPSocketOnMessageCallback listener) → void -
send(
UDPSocketSendOption option) → void -
setTTL(
num ttl) → void -
toString(
) → String -
A string representation of this object.
inherited
-
write(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited