AminetAminet
Search:
85226 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/tcp/AveNTP.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:SNTP time client for Amiga
Author:Juen/Project R3D+Appendix+Nah-Kolor
Uploader:biuro cdlabel info (Pawel Juen Nowak)
Type:comm/tcp
Version:1.1
Architecture:m68k-amigaos >= 2.0.0
Date:2026-03-30
Download:comm/tcp/AveNTP.lha - View contents
Readme:comm/tcp/AveNTP.readme
Downloads:10

 A lightweight SNTP time synchronization client for classic Amiga
 computers.

 REQUIREMENTS:

 - MC68000 or better
 - Kickstart 2.0 or higher
 - A TCP/IP stack with bsdsocket.library (AmiTCP, Roadshow, Miami, etc.)

 FEATURES:

 - SNTP protocol (RFC 4330, UDP port 123)
 - Query NTP servers for current time
 - Timezone support with -z option (e.g. -z +1 for CET)
 - Auto-detects timezone from ENV:TZ or Locale/GMToffset
 - Optionally set Amiga system clock (-s flag)
 - NTP epoch (1900) to Amiga epoch (1978) conversion
 - Verbose mode shows NTP stratum and raw timestamps
 - Pure MC68000 code - no 68020+ instructions

 USAGE:

 From CLI:

   AveNTP                          ; query pool.ntp.org (UTC)
   AveNTP -z +1                    ; show time in CET
   AveNTP -s -z +2 pool.ntp.org    ; set clock to CEST
   AveNTP -v -s time.google.com    ; verbose + set clock

 OPTIONS:

   -s            Set system clock from NTP response
   -z <offset>   Timezone offset from UTC (e.g. +1, -5, +5:30)
                 Auto-detected from ENV:TZ or Locale if omitted
   -v            Verbose output (show NTP details)
   -h            Show help

 NOTES:

 - Clock setting uses AmigaDOS Date command internally.
 - Timezone is auto-detected from ENV:TZ (POSIX format) or
   Locale/GMToffset. Use -z to override.
 - Without -z and no auto-detection, time is shown in UTC.
   A warning is shown if you use -s without timezone.
 - NTP packet is 48 bytes (minimal network overhead).

 CHANGELOG:

 v1.1 (28.03.2026)
  - Fix: proper socket cleanup using CloseSocket() instead of close()

 LICENSE:

 Freeware. Use at your own risk.

 CONTACT:

 Pawel "Juen" Nowak
 Project R3D + Appendix + Nah-Kolor
 biuro@cdlabel.info


Contents of comm/tcp/AveNTP.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[Amiga]                  19654   34408  57.1% -lh5- 9ebf Mar 28 22:48 AveNTP/AveNTP
[Amiga]                   1019    1930  52.8% -lh5- 8545 Mar 28 22:48 AveNTP/AveNTP.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files   20673   36338  56.9%            Mar 30 01:04
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>