ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Revision Graph
|
Root Listing
root
/
i-scream
/
projects
/
cms
/
source
/
host
/
c++
/
socket++-1.10
/
test
/
tpopen-lpc.C
Revision:
1.1
Committed:
Mon Feb 26 15:02:39 2001 UTC
(23 years, 8 months ago) by
ab11
Content type:
text/plain
Branch:
MAIN
CVS Tags:
PROJECT_COMPLETION
Log Message:
Test programs for Networking class. Unused by the host
File Contents
#
User
Rev
Content
1
ab11
1.1
#include <pipestream.h>
2
3
int main()
4
{
5
char buf[128];
6
iopipestream p("lpc");
7
p << "help\nquit\n" << flush;
8
while ( p.getline(buf, 127) ) cout << buf << endl;
9
return 0;
10
}