Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. time synchronisation

time synchronisation

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    styve
    wrote on last edited by
    #1

    I have some problem. I'm not sure how to do a program that synchronize the time for five computers. One computer will be a Master and get the time with ntp. And then sent a signal to the other four computer for example every 10 second. Is there someone that can help me get started and give me some hints how I should do? /stefan

    D 1 Reply Last reply
    0
    • S styve

      I have some problem. I'm not sure how to do a program that synchronize the time for five computers. One computer will be a Master and get the time with ntp. And then sent a signal to the other four computer for example every 10 second. Is there someone that can help me get started and give me some hints how I should do? /stefan

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Rather than implement a push design, why not go for a pull design? You could create a scheduled task on each of the computers that periodically started a .BAT file that contained the appropriate net time command.


      A rich person is not the one who has the most, but the one that needs the least.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups