Skip to content

An open network based replacement for LTC and MTC.

Notifications You must be signed in to change notification settings

ZeroSpace-Studios/Tick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tick

Tick is an open protcol with the aim of providing several benefits over LTC. Based off of high-precision network timing protocols it aims to provide a simple way to drive timing parameters across devices.

Installation

To use simply include the pre-built library in your project. Currently only a C++ library is provided, but a C library is planned in the very near future.

Usage

To use the library simply include the header file and link the library.

// To setup a tick receiver

#include "tick.h"

// Create a tick receiver
TickReceiver receiver;

// Setup the receiver to listen.

receiver.setup("127.0.0.1");

// To setup a tick sender

TickSender sender;

// Setup the sender to send to the receiver.

sender.setup("ip of the reciver");

// To send a tick, provide a time in a UINT64 formatted microsecond timestamp.

sender.sendTime(0);

//To receive a tick, call the receive function.

uint64_t time = receiver.receiveTime();

About

An open network based replacement for LTC and MTC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.8%
  • CMake 1.2%