Home » Source Code » Linux server time synchronization program

Linux server time synchronization program

liuyong_xa
2014-10-13 04:05:09
The author
View(s):
Download(s): 3
Point (s): 1 
Category Category:
Linux programmingLinux programming CPlusPlus, C-C++C++

Description

Under Linux is implemented using UDP host time synchronization function. Program both the server and client. Among them, the hosts on which the server is run on a standard,

Client runs on need time on the host. When implemented, the client sends to the server via UDP to correction requests, the server when a request is received via UDP reply client will own the current system time.

In fact, the source code is cross-platform, and can also use under Windows, because of platforms have been dealt with in the code differences. In this way, Windows platforms and Windows between the platforms , between Linux and Linux platforms as well as widows and Linux platforms are able to achieve time synchronization.

Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
<1.sh>0.00 B28-04-14 11:12
a.out27.23 kB08-05-14 17:12
Client_5_13.txt2.20 kB13-05-14 16:40
Client_5_7.txt45.00 B07-05-14 03:32
<nohup.out>0.00 B07-05-14 12:10
Server_5_8.txt35.00 B08-05-14 16:48
TimeClient31.24 kB13-05-14 16:38
TimeClient.ini32.00 B13-05-14 16:05
TimeServer29.09 kB13-05-14 16:39
TimeServer.ini23.00 B08-05-14 16:50
Client.txt66.00 B07-05-14 12:30
client.cpp6.07 kB13-05-14 16:36
Client.txt66.00 B07-05-14 11:43
makefile144.00 B05-05-14 10:27
<ServerConf.ini>0.00 B04-05-14 15:59
ServerConfig.ini19.00 B07-05-14 09:16
TimeClient31.24 kB13-05-14 16:38
ProtolDef.h272.00 B07-05-14 11:41
stdint.h415.00 B05-05-14 14:48
TimeTool.cpp8.16 kB13-05-14 16:22
TimeTool.h1.10 kB13-05-14 16:15
UDPSocket.cpp4.73 kB06-05-14 10:07
UDPSocket.h1.42 kB05-05-14 17:02
makefile144.00 B04-05-14 11:54
server8.20 kB28-04-14 10:41
server.cpp3.31 kB07-05-14 03:31
<server.cpp.bak>0.00 B29-04-14 14:34
Server_5_12.txt61.00 B12-05-14 16:34
TimeServer29.09 kB13-05-14 16:39
<nohup.out>0.00 B07-05-14 12:30
UDPSocket.cpp2.77 kB29-04-14 14:38
<client>0.00 B13-05-14 16:41
<pub>0.00 B13-05-14 16:41
<server>0.00 B13-05-14 16:41
<bin>0.00 B13-05-14 16:41
<code>0.00 B13-05-14 16:41
<lib>0.00 B13-05-14 16:41
<SetTime>0.00 B13-05-14 16:41
...
Sponsored links

Comments

(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

Linux server time synchronization program (59.85 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D