摘要: 1 #include <iostream> 2 #include <stddef.h> 3 #include <time.h> 4 #include <WinSock.h> 5 #pragma comment (lib,"Ws2_32") 6 7 using namespace std; 8 9 struct NTP_Packet 10 { 11 int Control_Word; 12 int root_delay; 13 int root_dispersion; 14 int ... 阅读全文
posted @ 2013-01-05 18:39 syrchina 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 1 // TimeDlg.cpp : implementation file 2 3 #include "stdafx.h" 4 #include "Time.h" 5 #include "TimeDlg.h" 6 7 #ifdef _DEBUG 8 #define new DEBUG_NEW 9 #undef THIS_FILE 10 static char THIS_FILE[] = __FILE__; 11 #endif 12 13 //////////////////////////////////////////////// 阅读全文
posted @ 2013-01-05 17:06 syrchina 阅读(286) 评论(0) 推荐(0) 编辑