TcpSocketServer class
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, bool shared = true})
→ Future<ServerSocket>
-
-
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, bool shared = true})
→ Future<SecureServerSocket>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited