I was able to get this working, so I wanted to explain what I was talking about earlier. Yes, IO::socket works simply by opening and closing connections, and so do the c programs I need the PERL to communicate with. But the difference is the c programs need a flag to tell it when the transactions started and ended, STX and ETX whose unix octals are \002 and \003. I was able to get this working simply by adding two print $server lines with the \002 and \003 before and after the files sent.
By the way pro*c is just a version of c that works with embedded sql. It really has nothing to do with the sockets other than that the author was using a table to store constants in. | [reply] |