14 lines
353 B
C++
14 lines
353 B
C++
#include "cdutils_core.h"
|
|
#include "piethernet.h"
|
|
|
|
int main(int argc, char *argv[]) {
|
|
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);
|
|
//CDUtils::Core::instance()->test();
|
|
return 0;
|
|
}
|
|
|