chorg has asked for the wisdom of the Perl Monks concerning the following question:
it does not work - the client seems to acknowlege the zero char, but not the data that comes before. So I have 2 questions.{ # the beginning of the event loop is above ... local $\ = "\0"; print $socket $data; # $socket is a IO::Socket::INET object return; }
1. How would I send a stream of characters through the filehandle to the client? I'm thinking that that may be the answer.
2. What other ways can you write a zero byte beside "\0"?
_______________________________________________
"Intelligence is a tool used achieve goals, however goals are not always chosen
wisely..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: more zero byte madness
by Fastolfe (Vicar) on Dec 05, 2000 at 18:40 UTC | |
by chorg (Monk) on Dec 05, 2000 at 20:30 UTC | |
by Fastolfe (Vicar) on Dec 05, 2000 at 21:34 UTC | |
by chorg (Monk) on Dec 05, 2000 at 23:15 UTC | |
by extremely (Priest) on Dec 06, 2000 at 03:43 UTC | |
|
Re: more zero byte madness
by snax (Hermit) on Dec 05, 2000 at 23:59 UTC |