Files
pip/main.cpp
2020-08-26 18:43:33 +03:00

19 lines
318 B
C++

#include "pip.h"
int main() {
PICloudServer s("127.0.0.1:10101");
// for (int i=0; i<3; ++i) {
// s.open();
// piCout << "opened";
// piSleep(10);
// s.close();
// piCout << "closed";
// piSleep(1);
// }
// s.open();
s.startThreadedRead();
piSleep(2);
// s.stopThreadedRead();
return 0;
}