lan_scanner library Null safety

Classes

HostModel
Represents a device in the network
LanScanner
A class to handle discovering devices in the local network

Properties

errorCodes List<int>
Represents predefined networking errors from Dart SDK 13: Connection failed (OS Error: Permission denied) 49: Bind failed (OS Error: Can't assign requested address) 61: OS Error: Connection refused 64: Connection failed (OS Error: Host is down) 65: No route to host 101: Network is unreachable 111: Connection refused 113: No route to host
final

Functions

ipToCSubnet(String ip) String
Converts traditional IPv4 address to the subnet of Class C network

Typedefs

ProgressCallback = void Function(double progress)
Typedef for progress callbacks