git-svn-id: svn://db.shs.com.ru/libs@97 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
#include "cdutils.h"
|
||||
#include "cdutils_core.h"
|
||||
#include "piethernet.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
CDUtils cd;
|
||||
PIEthernet eth;
|
||||
eth.send("127.0.0.1:16102", PIByteArray("data\n", 5));
|
||||
eth.send("127.0.0.1:26102", PIByteArray("data\n", 5));
|
||||
eth.send("127.0.0.1:36102", PIByteArray("data\n", 5));
|
||||
piMSleep(1000);
|
||||
cd.test();
|
||||
//CDUtils::Core::instance()->test();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user