in reply to Mixing sysread() with <FILEHANDLE>?
This sounds a lot like you're trying to re-invent FTP (SFTP to be more precise). If using FTP isn't workable for your scenario, you could take a hint from how it opens up a separate session to transmit files.
Passive mode FTP is a good model... one side or the other opens up a socket on a random port, then tells the other side what it is. Connect for one blob, and have no worries about misinterpreting data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Mixing sysread() with <FILEHANDLE>?
by pc88mxer (Vicar) on May 26, 2008 at 23:33 UTC | |
by sasdrtx (Friar) on May 27, 2008 at 01:35 UTC | |
|
Re^2: Mixing sysread() with <FILEHANDLE>?
by wanna_code_perl (Friar) on May 26, 2008 at 23:26 UTC |