aboutsummaryrefslogtreecommitdiff
path: root/src/old/tests/clistress.cpp
blob: 6b0ac66e421e10a79cfffd42f9acf1cff928e110 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "connection.h"

int main()
{
	Connection c;

	c.open("localhost", 4001 );

	c.appendOutput("w");
	c.writeOutput();

	c.waitForInput( 6, 5, 0 );

	printf("read: %s\n", c.getInput() );

	c.close();

	return 0;
}