intranet_ip 1.0.2 copy "intranet_ip: ^1.0.2" to clipboard
intranet_ip: ^1.0.2 copied to clipboard

get local intranet ip with tcp bind

example/intranet_ip_example.dart

import 'package:intranet_ip/intranet_ip.dart';

void main() async {
  final ip = await intranetIpv4();
  print(ip);
  print(ip.rawAddress);
}