I have a problem and I don't really know what to do. The situation is we have a database and the only network interface is to telnet into the box and start a database shell and run statements and either read the output from the screen or save the data to a file and FTP it down. Because the telnet login is very slow I would like to write a daemon that is always logged in and direct encrypted queries through it to the database. I also want the daemon to be logged in about five time and to pass the queries to a idle connection. I think I understand how to code all of it but the passing the information between the free connections. Sorry, I have no code. I am just in the planning stages. Could someone point me at the things I need to be reading? If it makes any difference, the daemon will run on a Fedora Linux box, the database server is AIX, the database is Unidata and daemon written in perl 5.8.3. Any help would be great.