I'm implementing IPC API via named pipes. I've never done this before. I would like to skip the hassle of prepending the length of each messsage in the stream, so the other end knows how much bytes to read for each of them. My approach is to close the pipe every time a message ends, and then reopen it immediately before data needs to be transmitted again. My simple tests (with the help of cat), suggest that it is going to work as I want. However, I want to make sure that Perl is going to write to the pipe only after close $pipe. I read somewhere that the internal buffer is 8kb. How can I increase it? If it's possible to tell Perl not to write unless explicit close is invoked would be even better.
ThanksIn reply to Increase IO buffer by antivirus64
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |