TcpSocketServer class

Constructors

TcpSocketServer()

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
getter/setter pair
server_secure SecureServerSocket
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, 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

Operators

operator ==(Object other) bool
The equality operator.
inherited