linux signal

This commit is contained in:
2022-11-01 09:38:27 +03:00
parent 591c92b4bb
commit e48d0ebaab
4 changed files with 10 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ public:
};
int main(int argc, char * argv[]) {
piCout << "main" << GetCurrentThreadId();
piCout << "main";
/*for (int i = 0; i < count; ++i)
pipes[i].create();
@@ -109,8 +109,8 @@ int main(int argc, char * argv[]) {
delete threads[i];
}*/
PIEthernet eth(PIEthernet::TCP_Client), seth(PIEthernet::TCP_Client);
eth.connect("192.168.1.13", 22);
PIEthernet eth(PIEthernet::UDP), seth(PIEthernet::TCP_Client);
eth.connect("127.0.0.1", 50000);
eth.startThreadedRead();
//piCout << eth.open();