PTPEchoServer

PTPEchoServer is a simple UDP PTP echo server. It occupies the UDP port 52000. It implements the PTP echo service and three functions from the PTP support service: Len, Seed, Session.

There are no command line arguments.


CCore-PTPEchoServer.exe

You can show the packet statistic using the command stat.


--- PTPEchoServer 1.00 ---
--- Copyright (c) 2015 Sergey Strukov. All rights reserved. ---

PTP-Echo> help
commands: stat clear help exit
PTP-Echo> stat


           Tick = 127
  Extra timeout = 138

PTP-Echo> stat


           Tick = 1791
  Extra timeout = 2025

PTP-Echo> stat

          Trans = 693520
     Trans done = 693520
        <- CALL = 693520
         <- ACK = 694852
         -> RET = 693520
       -> RERET = 1332
        No slot = 1332

             Rx = 1388372
             Tx = 694852
           Tick = 2131
  Extra timeout = 2292

PTP-Echo> exit

          Trans = 693520
     Trans done = 693520
        <- CALL = 693520
         <- ACK = 694852
         -> RET = 693520
       -> RERET = 1332
        No slot = 1332

             Rx = 1388372
             Tx = 694852
           Tick = 2297
  Extra timeout = 2480