set_buffer_mode
"Per Hedbor () @ Pike (-) importm?te f?r mailinglistan" <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
> Does anybody have a working example that actually uses the new > set_buffer_mode with in input buffer or an output buffer (and for > extra bonus points: and a read or a write callback)? Well, it is used in the websocket code. > I tried to get it to work in a sample program, but I'm now wondering > if I misunderstood the way it's supposed to be used, or if the code > is buggy in the Stdio lib. I think the only misunderstanding there is that nonblocking/callback mode does not really work with files. -- Per Hedbor