TCPSocketClient class
Constructors
- TCPSocketClient.new({Duration timeDelayToggleConnect = const Duration(milliseconds: 500)})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socketChannel → dynamic
-
no setter
- timeDelayToggleConnect → Duration
-
final
Methods
-
connectToServer(
String connectIP, {required ValueChanged< TCPSocketEvent> onData, required VoidCallback onDone, required ValueChanged onError}) → Future<bool> -
discoverServerIP(
String subnet) → Stream< String> - API Logic
-
disposeConnection(
) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendData(
FormDataSending formDataSending) → Future -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited