ph0enix has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
I'm writing server and need to send binary data to clients. As base class Net::Server::Multiplex is used. It is easy to serve text (all data witten to STDOUT are send to client and data written to STDERR are send to server log) but I want to send binary data. Simple binmode STDOUT; does not work because the tied interface used and IO::Multiplex::Handle does not implement method "BINMODE".
Suggestions? Example code?
Back to
Seekers of Perl Wisdom