Network Time Synchronization with Java

本小妞迷上赌 提交于 2019-12-23 04:51:08

问题


I'm creating a p2p audio-midi streaming application using Java (unfortunately) and I'm searching for a way to provide network time synchronization between certain peers (sources) using a reliable protocol implementation (like NTP) but I can't find any related libraries to use.I also have a limited amount of time to spend in order to implement something like this myself. So, does anyone know any solutions for network time synchronization using Java, NTP or alternative protocols/methods/ideas ? I will really appreciate any ideas! Thank you!


回答1:


Jakarta Commons has an NTP component together with examples.



来源:https://stackoverflow.com/questions/925524/network-time-synchronization-with-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!