ip 0.1.0
ip: ^0.1.0 copied to clipboard

discontinuedoutdated

A package for working with the IP protocol stack (IPv4, IPv6, ICMP, TCP, UDP).

example/ip.dart

import 'package:ip/ip.dart';
import 'package:raw/raw.dart';

void printPacketInfo(List<int> bytes) {
  // Decode packet
  final reader = new RawReader.withBytes(bytes);
  final packet = IpPacket.decode(reader);

  // Print some information
  print("Source: ${packet.source}");
  print("Destination: ${packet.destination}");
}
3
likes
0
pub points
59%
popularity

A package for working with the IP protocol stack (IPv4, IPv6, ICMP, TCP, UDP).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

http, meta, raw, universal_io

More

Packages that depend on ip