TcpSocketServer class
GeneralLib
Constructors
- TcpSocketServer.new()
- GeneralLib
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- server ↔ ServerSocket
-
GeneralLib
getter/setter pair
- server_secure ↔ SecureServerSocket
-
GeneralLib
getter/setter pair
Methods
-
listen(
{required String host, required int port, required void onData(Socket socket), Function? onError, void onDone()?, bool? cancelOnError, int backlog = 0, bool v6Only = false, }) → Future< ServerSocket> - GeneralLib
-
listenSecure(
{required String host, required int port, SecurityContext? context, required void onData(SecureSocket secureSocket), Function? onError, void onDone()?, bool cancelOnError = true, int backlog = 0, bool v6Only = false, bool requestClientCertificate = false, bool requireClientCertificate = false, List< String> ? supportedProtocols, }) → Future<SecureServerSocket> - GeneralLib
-
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