Jul 01

sntp client 

An interesting piece of code this, all the more so since it is this guy’s first go with c#. I use it to synch my laptop with time.windows.com – yes, I know XP has the same built in, but it only synchronises once per week, and I prefer to schedule a synch on startup. The Code Project has an out-of-date version of this, but Valer Bocan’s site maintains the latest, a discussion board for it and a VB port of the class. However, you just need the class, adjusting the namespace to suit, and adding a reference to mscorlib in your project. Using it is simple:


string TimeServer = "time.windows.com";
client = new NTPClient(TimeServer);
client.Connect(false);

to synchronise the local machine with the time server just use:

client.Connect(true);

that’s it.

  • Share/Bookmark
Jun 09

Professional SQL Server 2000 Programming

This is, quite simply, the best introduction to SQL Server 2000 programming. It’s well laid out, contains all the key information and is very easy to read. Vieira promotes a balanced architectural view and steers the reader away from the ‘do it all in data layer’ approach so typical of other SQL programming texts.

  • Share/Bookmark
Jun 09

Inside SQL Server 2000

A fascinating text describing the internals of SQL Server. A pretty wide statement that, but true, and whilst this book is considered ‘a bible’ for sysadmins/dbas I recommend it to developers too. Whilst Vieira covers some of the same territory, this does so in real depth.

  • Share/Bookmark
preload preload preload