Thread: NETWORKING: time client/server in C

  1. #1
    Registered User
    Join Date
    Aug 2005

    NETWORKING: time client/server in C

    Anybody here knows how how to snychronize time -- get the time of the server and synchronize it with the time of the clients??? Can anyone show me how to code it in C? Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Sure, what else would you like with your google search results?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Nov 2002
    Look up ntp

  4. #4
    Registered User
    Join Date
    Jul 2005
    If you want to code it in C, check out UNP (Unix Network Programming). There's basic examples on writing servers and clients, and it wouldn't take much common sense to adapt them to your needs.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 26
    Last Post: 07-05-2010, 10:43 AM
  2. Representing floats with color?
    By DrSnuggles in forum C++ Programming
    Replies: 113
    Last Post: 12-30-2008, 09:11 AM
  3. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 06:00 PM
  4. Checking parts of a structure
    By DocDroopy in forum C Programming
    Replies: 11
    Last Post: 08-05-2002, 07:45 AM