NETWORKING: time client/server in C

This is a discussion on NETWORKING: time client/server in C within the C Programming forums, part of the General Programming Boards category; Anybody here knows how how to snychronize time -- get the time of the server and synchronize it with the ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    1

    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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    21
    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, 08:11 AM
  3. calculating user time and time elapsed
    By Neildadon in forum C++ Programming
    Replies: 0
    Last Post: 02-10-2003, 05:00 PM
  4. Checking parts of a structure
    By DocDroopy in forum C Programming
    Replies: 11
    Last Post: 08-05-2002, 07:45 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21