#!/usr/bin/perl
+#
+# iceplexd
+#
+# Copyright (c) 2003 Ivan Kohler
+# All rights reserved.
+# This program is free software; you can redistribute it and/or modify it under
+# the same terms as Perl itself.
+
+# TODO, fake it for now :)
+
+# daemonize
+
+while (1) {
+
+ # select all servers
+ # SELECT * FROM iceplex_servers
+
+ foreach my $server ( @servers ) {
+ #ping , set status
+ # ask # of listeners
+ #update database
+
+ }
+
+sleep 5;
+}