my working copy of main.cpp, socketserver.cpp and ErrHandler.h from the final live presentation to Hardik and Kai