reference-implementation

Implementation of Vector Clocks

For my code which is running on different devices, i need to determine the ordering of messages which are sent between those devices. Therefore I would like to use vector clocks since I read vector clocks allow for the ordering of events. Is there any established framework/public API which I can use for that? Or a reference implementati...