I don't know how advanced your needs are, but I think what you want can probably be done with a shell script (or possibly batch file) wrapper around Netcat. Unless you're really looking for a programming project, I'd give this a try.
_________________________
- Tony C
my empeg stuff