On Friday, April 5, 2002, at 12:16 , paul beckett (JIC) wrote:

> Does anybody know if you can send a binary file (eg. excel spreadsheet) 
> via
> a socket connection (I'm using the IO::Socket::INET module); and if so 
> how?

yes - I think the question is how to have the reader on the
socket understand that the byte stream is an excell spreadsheet
to unpack it correctly....

remember that you will need to read this with sysread() and
write with syswrite() - in '$bug_len' sized chunks - rather than
trying to use the usual

        while(<FH>) {
                chomp;

        }

approach to reading from a handle.

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to