diff --git a/Main.cpp b/Main.cpp index 30c9625..e2c3e65 100644 --- a/Main.cpp +++ b/Main.cpp @@ -29,8 +29,7 @@ int main(int argc, char *argv[]) p.setDstPort(80); cout << "Wysylam wiadomosc: "; - pc1.send(p); - cout << endl; + cout << pc1.send(p) << endl; cout << "Wywoluje onRecv() na PC2" << endl; pc2.onRecv();