11int main(
int argc,
char **argv)
17 const char **av = (argc < 2) ? _av : (const char **)(argv + 1);
20 WvPipe p(av[0], av,
true,
false,
false);
22 wvcon->autoforward(p);
23 p.autoforward(*wvcon);
25 p.write(
"test string\r\n");
27 while (p.isok() && wvcon->isok())
31 if (wvcon->select(100))
35 p.flush_then_close(50000);
44 log(WvLog::Notice,
"Exited (return code == %s)\n",
A WvLog stream accepts log messages from applications and forwards them to all registered WvLogRcv's.
Implementation of a WvPipe stream.