in reply to Re^2: SNTP Client/Server V2 RFC
in thread SNTP Client/Server V2 RFC

Yes, it fails "compilation" immediately:

VinsWorldcom@C:\Users\VinsWorldcom\tmp> client.pl Time::HiRes::clock_getres(): unimplemented in this platform at C:\User +s\VinsWorldcom\tmp\test.pl line 6. BEGIN failed--compilation aborted at C:\Users\VinsWorldcom\tmp\test.pl + line 6. VinsWorldcom@C:\Users\VinsWorldcom\tmp> ver Microsoft Windows [Version 6.1.7601] VinsWorldcom@C:\Users\VinsWorldcom\tmp> which perl C:\strawberry\perl\bin\perl.exe VinsWorldcom@C:\Users\VinsWorldcom\tmp> perl -v This is perl 5, version 18, subversion 1 (v5.18.1) built for MSWin32-x +64-multi-thread [...]

Replies are listed 'Best First'.
Re^4: SNTP Client/Server V2 RFC
by thanos1983 (Parson) on Sep 24, 2014 at 15:51 UTC

    Hello VinsWorldcom,

    Your feedback is very valuable to me, I just updated the code now, and removed the clock_getres that was producing the problem.

    Both scripts are operating with my (undef, undef, $precision_client, undef, undef) = POSIX::times(); but the precision it seems not correct.

    Apart from that I am working again on small other improvements that I have in my mind. I will post the updated version as soon as I finish it.

    Seeking for Perl wisdom...on the process of learning...not there...yet!