initial
This commit is contained in:
commit
ab9a0bd4e2
183 changed files with 20701 additions and 0 deletions
14
src/examples/011_echoclient/echoclient.cpp
Normal file
14
src/examples/011_echoclient/echoclient.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <framework/eventloop.h>
|
||||
#include "echoclienttask.h"
|
||||
|
||||
/* Example 011
|
||||
|
||||
Write a few messages to an echo server, check the result.
|
||||
Make sure the server from example 010 is running while you run this client.
|
||||
|
||||
*/
|
||||
|
||||
int main(int , char *[]) {
|
||||
EventLoop::runTask(new EchoClientTask("127.0.0.1", 1400));
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue