dart_ntp 1.0.0 copy "dart_ntp: ^1.0.0" to clipboard
dart_ntp: ^1.0.0 copied to clipboard

This is simple NTP server with offers offset feature. This may helped test system based on time.

example/dart_ntp_example.dart

import 'dart:ffi';
import 'dart:typed_data';

import 'package:dart_ntp/dart_ntp.dart';
import 'package:dart_ntp/src/dart_ntp_message.dart';

void main() {
  NTPServer srv = NTPServer(offset: Duration(seconds: 3600));
  srv.start();
}
0
likes
150
points
16
downloads

Publisher

unverified uploader

Weekly Downloads

This is simple NTP server with offers offset feature. This may helped test system based on time.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

udp

More

Packages that depend on dart_ntp