a simple server/client daytime implementation